valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

refactor: move manually created tchar table to bytesconv_table_gen #1689

Closed nickajacks1 closed 10 months ago

nickajacks1 commented 10 months ago

The toUpper and toLower tables were also updated by go generate, I can revert those lines if that's not desirable. Used a table of size 128 instead of 256 to lower impact on cache (AKA futile premature optimization)

erikdubbelboer commented 10 months ago

Thanks!