diff options
author | def <dennis@felsin9.de> | 2015-03-02 03:08:17 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-03-17 19:39:02 +0100 |
commit | 477b3594ebdeec0d8ecdf1f050a61af7e0f96cbf (patch) | |
tree | 0c61ec0f372382d99ec042487007ee8656d8829e /compiler/evalffi.nim | |
parent | 07a50caf64d1ed2891349cff9a22b53c4ef61c2d (diff) | |
download | Nim-477b3594ebdeec0d8ecdf1f050a61af7e0f96cbf.tar.gz |
Speed up asynchttpserver significantly using all the previous changes
- Export socket field of AsyncHttpServer and addHeaders proc for templates - Make respond a template instead of proc because of how often it's called. This means no more "await" when invoking it. - Optimize respond template with special case for empty headers and Content-Length entry - newRequest doesn't allocate a hostname and body anymore because they're copied in later - Major changes to processClient to prevent allocations and copies
Diffstat (limited to 'compiler/evalffi.nim')
0 files changed, 0 insertions, 0 deletions