Ava Chow
9f1aa88d4d
Merge bitcoin/bitcoin#30884 : streams: cache file position within AutoFile
...
a240e150e837b5a95ed19765a2e8b7c5b6013f35 streams: remove AutoFile::Get() entirely (Pieter Wuille)
e624a9bef16b6335fd119c10698352b59bf2930a 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 a240e150e837b5a95ed19765a2e8b7c5b6013f35
davidgumberg:
untested reACK a240e150e8
theStack:
Code-review ACK a240e150e837b5a95ed19765a2e8b7c5b6013f35
Tree-SHA512: fd3681edc018afaf955dc7a41a0c953ca80d46c1129e3c5b306c87c95aae93b2fe7b900794eb8b6f10491f9211645e7939918a28838295e6873eb226fca7006f
2024-09-16 23:09:16 -04:00
..
2024-09-04 15:04:53 -04:00
2024-04-18 10:27:25 +01:00
2024-09-10 12:58:54 -03:00
2024-09-13 21:59:29 -04:00
2024-09-04 15:04:53 -04:00
2024-05-16 10:16:08 -05:00
2024-08-06 11:03:31 +02:00
2024-08-13 07:44:31 +02:00
2023-12-06 15:44:38 +01:00
2024-07-01 10:26:46 -04:00
2024-08-05 14:51:47 +02:00
2024-05-29 18:55:04 +02:00
2023-11-30 11:27:21 +01:00
2023-11-14 08:45:30 +10:00
2023-12-09 19:31:06 +01:00
2023-10-06 19:43:32 +02:00
2023-10-03 10:52:15 +01:00
2024-09-12 15:15:36 -04:00
2024-09-16 13:59:22 -04:00
2024-08-05 19:43:56 -04:00
2024-08-05 19:43:56 -04:00
2024-09-04 15:04:53 -04:00
2024-09-04 15:04:53 -04:00
2024-08-27 11:25:47 -03:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:31:56 -04:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2024-08-28 15:56:15 +01:00
2024-05-24 18:44:02 +02:00
2022-12-13 15:08:24 -05:00
2024-03-18 10:32:00 -04:00
2024-04-22 09:36:36 -04:00
2024-05-16 10:16:08 -05:00
2023-03-21 13:54:11 +01:00
2023-11-30 11:28:19 +01:00
2024-09-03 20:40:35 +02:00
2024-06-12 15:21:31 +02:00
2023-11-07 10:21:51 +09:00
2023-11-28 12:42:07 +01:00
2024-03-05 10:01:24 -05:00
2024-09-12 12:36:37 -04:00
2023-12-04 15:39:15 -04:00
2024-06-14 14:23:50 +02:00
2024-09-16 13:59:22 -04:00
2024-05-09 15:56:04 +02:00
2024-06-03 16:59:43 +02:00
2024-08-05 15:45:58 +01:00
2023-11-18 03:01:03 +10:00
2024-05-16 10:16:08 -05:00
2023-11-28 17:49:41 +01:00
2024-09-04 15:04:53 -04:00
2024-07-09 17:22:57 +01:00
2024-08-13 07:44:31 +02:00
2023-12-14 20:10:21 +00:00
2024-08-05 14:51:47 +02:00
2024-04-18 10:27:25 +01:00
2024-03-12 12:59:02 -04:00
2024-08-09 14:05:04 +02:00
2024-01-23 11:49:32 +01:00
2023-05-30 16:27:21 -03:00
2022-12-24 23:49:50 +00:00
2024-08-13 15:44:46 -04:00
2024-09-10 11:56:07 +01:00
2024-08-13 07:44:31 +02:00
2024-07-02 12:06:07 +01:00
2023-04-04 18:33:08 +02:00
2024-07-19 15:39:02 +02:00
2024-07-01 14:11:52 +01:00
2023-11-14 17:41:26 +01:00
2024-09-04 15:04:53 -04:00
2024-08-13 07:44:31 +02:00
2024-09-02 15:43:33 +01:00
2024-09-04 15:04:53 -04:00
2023-11-14 08:45:30 +10:00
2024-07-08 16:11:15 +02:00
2024-07-08 16:11:15 +02:00
2023-11-30 11:28:19 +01:00
2024-07-06 09:06:36 -04:00
2024-06-18 10:19:41 -04:00
2024-07-08 16:11:15 +02:00
2024-05-16 10:16:08 -05:00
2023-11-23 17:57:53 +01:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2024-05-16 10:16:08 -05:00
2024-07-19 17:17:02 +02:00
2024-09-04 15:04:53 -04:00
2024-08-09 11:18:45 +01:00
2024-08-21 00:41:56 +02:00
2024-05-09 15:56:04 +02:00
2023-01-13 09:40:57 +00:00
2023-11-14 08:45:30 +10:00
2023-12-09 19:31:06 +01:00
2024-08-13 07:44:31 +02:00
2024-07-10 09:40:47 +02:00
2024-09-06 09:08:10 -04:00
2024-06-13 11:20:49 +01:00
2023-07-13 20:37:14 +02:00
2023-11-30 11:27:21 +01:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00
2024-07-02 12:06:07 +01:00
2024-07-23 10:37:58 +02:00
2024-07-30 14:06:58 -04:00
2023-11-30 11:28:19 +01:00
2024-08-30 10:17:09 +02:00
2024-07-08 16:11:15 +02:00
2024-06-26 22:47:09 +00:00
2024-07-01 10:26:46 -04:00
2023-07-13 20:37:14 +02:00