tokenizers v1: encode, decode and scaling, measured
Deep dive 10 min +100 XP
tokenizers v1 encodes text 3 to 30 times faster than v0.23 single-threaded on an Apple M4 Max and scales at 76% of linear across eight cores, while producing identical token IDs and keeping the same API.