dotCooCoo
127b7dd43f
craft-psd: the long letter run test counts name reads instead of timing
...
a_name_of_one_long_letter_run_is_scored_in_linear_time passed only when
guess() scored each 64 KiB name within 5 s. A test-only counter now
records each character Name::new and the position checks of score()
read. For each of the three names, the test guesses a quarter of the
name and then all of it, and checks that the whole name takes at most
five times the reads of the quarter. With position() counting the
letters after each character by a scan, the one-letter name takes
402,841,600 reads for the quarter and 6,443,204,608 for all of it, and
the test fails.
2026-11-27 18:10:09 -08:00
..
2026-11-11 20:39:59 -05:00
2026-11-15 07:43:59 -05:00
2026-11-11 21:06:29 -05:00
2026-11-21 13:22:16 -05:00
2026-11-19 03:28:39 +01:00
2026-11-11 20:56:55 -05:00
2026-11-20 04:22:22 +07:00
2026-11-11 21:04:07 -05:00
2026-11-18 10:10:41 +01:00
2026-11-16 23:36:08 +00:00
2026-11-14 02:51:47 +00:00
2026-11-11 20:39:59 -05:00
2026-11-11 17:00:33 -05:00
2026-11-11 17:00:33 -05:00
2026-11-19 00:59:54 +01:00
2026-11-11 17:00:33 -05:00
2026-11-15 07:43:59 -05:00
2026-11-14 01:58:46 +00:00
2026-11-11 20:05:54 -05:00
2026-11-14 01:58:46 +00:00
2026-11-11 17:00:33 -05:00
2026-11-11 19:45:46 -05:00
2026-11-19 16:25:53 -05:00
2026-11-27 18:10:09 -08:00
2026-11-21 13:22:16 -05:00
2026-11-11 17:00:33 -05:00
2026-11-19 16:22:24 +00:00
2026-11-15 09:30:43 -05:00
2026-11-15 13:59:18 -05:00
2026-11-14 01:58:46 +00:00
2026-11-11 17:00:33 -05:00
2026-11-11 20:56:55 -05:00
2026-11-11 21:04:07 -05:00
2026-11-11 17:00:33 -05:00
2026-11-15 12:59:08 -05:00
2026-11-24 22:33:02 +00:00
2026-11-11 20:05:54 -05:00
2026-11-17 14:46:32 -05:00
2026-11-11 17:00:33 -05:00
2026-11-14 02:35:35 +00:00
2026-11-11 17:00:33 -05:00
2026-11-11 17:00:33 -05:00
2026-11-14 14:44:05 -05:00
2026-11-16 07:19:08 -05:00
2026-11-24 19:46:16 +00:00
2026-11-25 16:16:41 +01:00
2026-11-20 05:07:30 +07:00
2026-11-11 17:00:33 -05:00
2026-11-19 16:25:53 -05:00
2026-11-11 21:04:07 -05:00
2026-11-11 20:27:10 -05:00
2026-11-11 20:56:55 -05:00
2026-11-21 09:22:30 +07:00
2026-11-14 02:35:35 +00:00
2026-11-11 17:00:33 -05:00
2026-11-11 20:05:54 -05:00
2026-11-18 10:39:08 +01:00
2026-11-11 20:56:55 -05:00
2026-11-19 06:14:05 +01:00
2026-11-26 09:51:24 +01:00
2026-11-11 17:00:33 -05:00
2026-11-19 11:30:36 +01:00
2026-11-11 20:56:55 -05:00
2026-11-11 17:00:33 -05:00
2026-11-19 16:25:53 -05:00