You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(parser): fast-path name tokenization to avoid TextDecoder (#33)
Skip intermediate number[] array, Uint8Array allocation, and
TextDecoder.decode() for the 99%+ of PDF names that contain no #XX
hex escapes. Build string directly via String.fromCharCode loop.
5-10% improvement on parsing benchmarks (CPU profile showed readName +
TextDecoder.decode at ~20% of total parse time).
0 commit comments