Files
pdfcraft/crates
aiongg a374d16515 fix(cos): index the keys of a large dictionary
Dict::set searched every existing entry before inserting a key, so a
parsed dictionary of n distinct keys cost n^2/2 key comparisons: a
few megabytes of keys stalled parsing for minutes. From 32 entries a
dictionary keeps a key index, so each insert and lookup is one hash
probe. Equality and debug output still compare and show the entries
alone.
2026-10-22 17:43:03 +00:00
..
2026-10-22 02:22:02 +00:00
2026-10-22 02:52:29 +00:00
…
2026-10-22 12:13:16 -04:00