Ava Chow
9f1aa88d4d
Merge bitcoin/bitcoin#30884 : streams: cache file position within AutoFile
...
a240e150e8 streams: remove AutoFile::Get() entirely (Pieter Wuille)
e624a9bef1 streams: cache file position within AutoFile (Pieter Wuille)
Pull request description:
Fixes #30833 .
Instead of relying on frequent `ftell` calls (which appear to cause a significant slowdown on some systems) in XOR-enabled `AutoFile`s, cache the file position within `AutoFile` itself.
ACKs for top commit:
achow101:
ACK a240e150e8
davidgumberg:
untested reACK a240e150e8
theStack:
Code-review ACK a240e150e8
Tree-SHA512: fd3681edc018afaf955dc7a41a0c953ca80d46c1129e3c5b306c87c95aae93b2fe7b900794eb8b6f10491f9211645e7939918a28838295e6873eb226fca7006f
2024-09-16 23:09:16 -04:00
..
2024-09-16 23:09:16 -04:00
2024-09-06 09:08:10 -04:00
2024-03-01 13:13:07 -05:00
2024-08-28 18:42:10 +02:00
2024-02-27 18:28:19 +00:00
2024-08-16 19:27:38 +01:00
2024-09-16 23:09:16 -04:00
2024-09-06 09:08:10 -04:00
2024-09-13 10:14:53 +02:00
2024-09-06 09:08:10 -04:00
2024-09-12 16:39:34 +01:00
2024-06-13 13:17:57 +01:00
2024-08-29 13:49:57 +02:00
2024-06-12 14:38:39 +01:00
2024-09-16 23:09:16 -04:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-09-16 15:56:02 -04:00
2024-09-16 16:17:59 -04:00
2024-08-28 15:56:15 +01:00
2024-09-07 18:15:41 +01:00
2024-07-24 09:57:49 +01:00
2024-09-16 23:09:16 -04:00
2024-08-30 21:31:39 +01:00
2024-09-16 23:09:16 -04:00
2024-09-09 12:44:29 -04:00
2024-08-29 13:49:57 +02:00
2023-12-15 15:20:54 +01:00
2024-09-14 20:33:32 +03:00
2024-09-13 21:59:29 -04:00
2023-09-05 10:13:25 +02:00
2024-07-30 14:06:58 -04:00
2024-07-30 14:06:58 -04:00
2024-09-10 12:58:54 -03:00
2024-09-10 12:58:54 -03:00
2024-09-10 12:58:54 -03:00
2023-11-21 17:37:25 +01:00
2024-08-03 21:59:54 +02:00
2024-08-29 13:49:57 +02:00
2024-05-30 08:35:18 -04:00
2024-05-16 10:16:08 -05:00
2024-08-06 11:03:31 +02:00
2024-08-06 11:03:31 +02:00
2023-09-10 16:11:52 -04:00
2023-09-10 16:11:52 -04:00
2024-09-13 16:10:31 +02:00
2024-09-04 14:47:38 -04:00
2024-07-24 17:40:18 +02:00
2024-05-01 08:33:04 +02:00
2024-08-06 01:38:10 +02:00
2024-09-06 09:08:10 -04:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-05-16 10:16:08 -05:00
2023-08-17 18:28:15 +02:00
2024-08-04 14:24:43 +02:00
2024-08-06 01:38:10 +02:00
2024-08-13 14:00:33 -03:00
2024-08-13 14:00:33 -03:00
2024-08-27 07:00:27 +02:00
2023-10-03 10:52:17 +01:00
2024-08-29 12:38:37 +01:00
2024-05-01 08:33:04 +02:00
2024-09-12 15:15:36 -04:00
2024-09-12 14:24:26 +01:00
2024-08-08 22:51:24 +02:00
2024-08-05 22:34:35 -04:00
2023-08-14 17:38:27 -04:00
2024-06-07 13:55:23 -04:00
2024-07-24 17:40:18 +02:00
2024-07-24 17:40:18 +02:00
2024-06-07 13:55:23 -04:00
2024-07-04 22:35:29 +02:00
2024-08-29 13:49:57 +02:00
2023-09-12 12:07:39 +02:00
2024-05-16 15:03:13 -04:00
2024-08-13 07:44:31 +02:00
2024-08-29 13:49:57 +02:00
2024-07-24 09:39:35 +02:00
2024-01-05 17:12:38 +01:00
2023-11-16 11:36:22 +10:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-09-09 12:29:17 -04:00
2024-09-14 20:33:32 +03:00
2024-07-11 19:08:46 +01:00
2024-06-26 15:28:26 -04:00
2024-06-12 16:19:50 -03:00
2024-09-16 15:56:02 -04:00
2024-09-06 09:08:10 -04:00
2024-07-30 14:06:58 -04:00
2023-08-14 17:38:27 -04:00
2024-08-04 08:52:22 +02:00
2024-08-04 08:51:36 +02:00
2024-08-04 06:43:00 +02:00
2024-09-05 07:17:22 +02:00
2024-06-18 12:24:48 +00:00
2023-09-13 11:37:45 +01:00
2024-04-07 14:04:45 +01:00
2024-07-08 11:12:01 +02:00
2024-05-16 10:16:08 -05:00
2024-02-28 10:05:56 -03:00
2024-09-16 13:59:22 -04:00
2024-09-02 15:42:44 +01:00
2024-05-20 16:48:19 +00:00
2024-07-08 11:12:01 +02:00
2024-09-16 16:49:25 -04:00
2024-09-10 18:08:32 -03:00
2024-08-13 07:44:31 +02:00
2024-07-01 12:39:53 -04:00
2024-09-16 15:47:04 -04:00
2024-09-10 11:20:40 -03:00
2023-12-06 11:22:42 -05:00
2023-12-02 22:03:08 +01:00
2023-11-20 14:02:27 +01:00
2024-03-21 16:41:16 +01:00
2024-05-03 14:20:44 -03:00
2024-05-03 14:20:44 -03:00
2024-09-02 15:43:33 +01:00
2024-09-02 15:43:33 +01:00
2024-07-12 11:19:00 +02:00
2024-02-28 18:03:23 +01:00
2024-05-21 13:59:33 -04:00
2024-05-16 10:16:08 -05:00
2024-07-11 19:08:46 +01:00
2024-08-28 19:11:59 +02:00
2024-08-28 19:09:51 +02:00
2024-08-29 13:49:57 +02:00
2024-07-06 09:06:36 -04:00
2024-07-19 22:01:01 +01:00
2024-09-13 10:50:43 -04:00
2024-02-15 14:43:14 +01:00
2024-02-16 17:12:52 +01:00
2024-07-08 11:12:01 +02:00
2024-08-29 13:49:57 +02:00
2024-08-13 07:44:31 +02:00
2024-09-13 21:59:29 -04:00
2024-09-13 21:59:29 -04:00
2024-05-16 18:16:46 +02:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2024-08-29 13:49:57 +02:00
2023-08-17 23:58:47 -05:00
2024-08-29 13:49:57 +02:00
2024-09-16 15:56:02 -04:00
2024-08-29 13:49:57 +02:00
2024-09-06 15:57:00 +02:00
2024-08-29 13:49:57 +02:00
2024-08-05 17:25:57 -04:00
2024-08-07 20:00:28 +01:00
2024-07-24 09:15:34 +02:00
2024-09-06 17:36:18 +02:00
2023-11-16 11:36:22 +10:00
2024-09-10 18:08:32 -03:00
2024-09-13 16:10:31 +02:00
2024-08-29 13:49:57 +02:00
2024-07-25 11:01:22 +01:00
2024-07-08 11:12:01 +02:00