yetone
3b261932e1
usage: what is kept of each chunk by its serial is let go after three idle minutes
...
Message keys, match hints, chunk first times and heat sums are kept by
chunk serial and pruned only by turns, so with no pairing or heatmap
while nobody looked they stayed for the life of the process (~4 MB of
message keys alone in a real history's idle heap). They are now let go
once none was read for three minutes, and read again from the chunk on
the next ask.
Test: TestDerivedLetGoWhenIdle (kept while read, let go when idle, same
answers after).
Run: go test ./internal/usage on mote at this head (ok, 36s) and on
the Linux box; go vet linux, windows, darwin. Broken by hand (the drop
skipped): red, "idle: 3 heat sums and 3 firsts kept". Real-account copy
on mote, 330s idle, both orders: hintsOf's 1.6 MB is gone from the end
heap; footprint moved with run order (+10-15 MB for whichever ran
second), so no footprint gain is claimed. Not tried: an idle after the
Requests page was paged, where message keys are kept.
2026-11-10 16:45:02 +08:00
..
2026-10-28 03:17:14 +08:00
2026-11-06 10:07:06 +08:00
2026-10-21 23:21:41 +08:00
2026-10-31 08:31:15 +08:00
2026-11-01 07:06:19 +08:00
2026-11-01 17:57:15 +08:00
2026-10-14 05:43:47 +08:00
2026-10-25 10:53:45 +08:00
2026-10-16 21:59:33 +08:00
2026-11-07 04:03:01 +08:00
2026-11-01 18:19:53 +08:00
2026-10-29 04:44:43 +08:00
2026-10-28 21:13:09 +08:00
2026-10-19 14:34:18 +08:00
2026-10-13 18:17:47 +08:00
2026-11-10 04:44:07 +08:00
2026-10-28 20:43:10 +08:00
2026-10-28 20:43:10 +08:00
2026-10-15 04:21:31 +08:00
2026-10-29 00:14:17 +08:00
2026-10-29 06:30:58 +08:00
2026-10-30 13:42:11 +08:00
2026-10-27 08:04:30 +08:00
2026-10-29 06:30:58 +08:00
2026-11-06 10:07:06 +08:00
2026-10-29 00:57:04 +08:00
2026-10-29 16:11:26 +08:00
2026-10-27 18:37:16 +08:00
2026-10-27 18:37:16 +08:00
2026-10-31 18:57:39 +08:00
2026-11-10 16:45:02 +08:00
2026-10-15 09:36:26 +08:00
2026-11-04 22:45:40 +08:00
2026-10-31 03:13:28 +08:00
2026-11-10 16:45:02 +08:00
2026-11-10 16:45:02 +08:00
2026-10-30 13:42:11 +08:00
2026-10-31 17:29:12 +08:00
2026-10-31 18:57:39 +08:00
2026-10-29 06:21:46 +08:00
2026-10-19 14:34:18 +08:00
2026-10-19 14:34:18 +08:00
2026-10-24 02:48:50 +08:00
2026-11-02 17:19:23 +08:00
2026-10-19 14:34:18 +08:00
2026-11-09 23:56:13 +08:00
2026-10-31 10:24:23 +08:00
2026-11-09 23:56:13 +08:00
2026-10-31 03:13:28 +08:00
2026-11-08 00:12:29 +08:00
2026-11-10 16:45:02 +08:00
2026-10-27 02:25:45 +08:00
2026-11-10 16:28:04 +08:00
2026-10-19 14:34:18 +08:00
2026-10-19 14:34:19 +08:00
2026-11-01 11:19:26 +08:00
2026-11-06 09:57:18 +08:00
2026-11-10 07:37:34 +08:00
2026-10-31 20:48:05 +08:00
2026-11-10 00:36:16 +08:00
2026-10-30 17:10:26 +08:00
2026-10-31 00:28:43 +08:00
2026-11-01 17:57:15 +08:00
2026-11-01 18:33:53 +08:00
2026-10-29 00:09:24 +08:00
2026-10-13 04:31:07 +08:00
2026-10-27 11:24:15 +08:00
2026-11-02 19:08:59 +08:00
2026-11-10 16:45:02 +08:00
2026-10-30 15:00:16 +08:00
2026-11-09 19:58:17 +08:00
2026-10-15 05:39:01 +08:00
2026-10-15 05:39:01 +08:00
2026-10-25 15:10:47 +08:00
2026-10-31 03:13:28 +08:00
2026-10-31 20:48:05 +08:00
2026-10-30 20:21:52 +08:00
2026-10-30 23:20:35 +08:00
2026-10-30 15:22:55 +08:00
2026-10-14 15:26:28 +08:00
2026-11-10 02:01:37 +08:00
2026-11-10 02:01:37 +08:00
2026-11-03 05:16:57 +08:00
2026-11-01 22:14:19 +08:00
2026-11-01 22:14:19 +08:00
2026-11-10 12:22:53 +08:00
2026-11-10 12:22:53 +08:00
2026-10-25 06:58:27 +08:00
2026-10-28 09:42:21 +08:00
2026-10-31 10:32:00 +08:00
2026-10-13 10:13:15 +08:00
2026-11-01 22:14:19 +08:00
2026-10-24 23:49:08 +08:00
2026-11-10 03:44:19 +08:00
2026-10-30 13:42:11 +08:00
2026-10-30 13:42:11 +08:00
2026-10-28 11:15:57 +08:00
2026-10-19 14:34:18 +08:00
2026-10-31 13:44:29 +08:00
2026-10-30 06:48:56 +08:00
2026-10-28 21:40:12 +08:00
2026-10-28 21:40:12 +08:00
2026-10-25 05:02:18 +08:00
2026-10-31 20:48:05 +08:00
2026-10-30 15:16:30 +08:00
2026-10-25 16:56:02 +08:00
2026-10-31 00:28:43 +08:00
2026-10-25 16:56:02 +08:00
2026-10-31 12:34:40 +08:00
2026-10-31 12:34:40 +08:00
2026-11-01 18:10:04 +08:00
2026-10-30 23:20:35 +08:00
2026-11-10 16:45:02 +08:00
2026-10-31 03:13:28 +08:00
2026-10-31 10:24:23 +08:00
2026-11-06 11:46:25 +08:00
2026-10-25 16:56:02 +08:00
2026-10-25 03:11:41 +08:00
2026-10-21 23:21:41 +08:00
2026-10-19 14:34:18 +08:00
2026-11-09 23:56:13 +08:00
2026-11-01 18:10:04 +08:00
2026-11-05 23:57:33 +08:00
2026-11-01 02:29:59 +08:00
2026-11-10 07:37:34 +08:00
2026-11-01 07:06:19 +08:00
2026-10-28 03:17:14 +08:00
2026-10-24 17:07:35 +08:00
2026-11-07 00:22:13 +08:00
2026-10-27 18:54:31 +08:00
2026-11-02 19:26:26 +08:00
2026-11-10 12:54:39 +08:00
2026-10-31 23:35:27 +08:00
2026-10-21 09:41:29 +08:00
2026-10-21 09:41:29 +08:00
2026-11-07 21:47:58 +08:00
2026-11-06 09:17:10 +08:00
2026-11-10 04:44:07 +08:00
2026-11-03 17:01:51 +08:00
2026-11-03 17:01:51 +08:00
2026-11-03 15:30:44 +08:00
2026-11-08 02:54:25 +08:00
2026-10-21 23:21:41 +08:00
2026-10-21 23:21:41 +08:00
2026-11-10 00:36:16 +08:00
2026-10-29 06:04:22 +08:00
2026-10-29 06:04:22 +08:00
2026-10-25 03:31:55 +08:00
2026-10-24 02:48:50 +08:00
2026-10-30 16:05:58 +08:00
2026-11-10 16:28:04 +08:00
2026-10-19 14:34:18 +08:00
2026-10-29 06:21:46 +08:00
2026-10-29 06:21:46 +08:00
2026-10-19 14:34:19 +08:00
2026-11-01 18:33:53 +08:00
2026-10-15 23:08:00 +08:00
2026-11-05 23:57:33 +08:00
2026-11-09 19:23:13 +08:00
2026-11-09 19:23:13 +08:00
2026-10-23 10:54:27 +08:00
2026-10-23 10:54:27 +08:00