2 ms·
Surprised it is so much faster. I would have thought the python one is C under the hood
by Havoc 1y ago
Surprised it is so much faster. I would have thought the python one is C under the hood
- Tananon 1y agoIndeed, I also didn't expect it to be so much faster! I think it's because most of the time is actually spent on tokenization (which also happens in Rust in the Python package), but there is some transfer overhead there between Rust and Python. The other operations should be the same speed I think.