realFlowControl / 1brc

MIT License
30 stars 13 forks source link

Use strtok for ~15% performance increase #1

Closed ewguo closed 6 months ago

ewguo commented 7 months ago

I don't have ZTS to test, but single threaded (with appropriate adjustments to wrapper code) this shows a performance increase of ~15%.

realFlowControl commented 6 months ago

Nice, I'd really like to benchmark this. Before merging, could you re-add xjakub's version to your branch?

ewguo commented 6 months ago

Sure, done.