squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

select slower path on older hardware #40

Closed squeaky-pl closed 7 years ago

squeaky-pl commented 7 years ago

Currently under older CPUs without SSE 4.2 Japronto explodes with SIGILL. This pull request makes build system compile two versions of parser and plugs them later according to the host CPU capabilities.