h2o/qrintf
View on GitHub ↗ ★ 404 C
sprintf accelerator for GCC and Clang
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-12-25 · latest 2021-07-06
20082026
-
The qrintf preprocessor accelerates sprintf expressions. https://github.com/h2o/qrintf Noob question: Can libgccjit be used to do the same at runtime?
comment by specialist · 2021-07-06 · in Libgccjit AOT Codegen for Rustc -
…a JIT but a preprocessor at compile time that makes sprintf calls faster by pre-splitting them: https://github.com/h2o/qrintf
comment by baruch · 2018-05-21 · in Tearing apart printf() -
I've used https://github.com/h2o/qrintf before which replaces many snprintf usages with standard C code at compile time
comment by drewrichardson · 2015-10-19 · in Show HN: Minimal freestanding C runtime for bare-metal/embedded PC projects -
Looking at the tangentially linked qrintf project that H2O uses ( https://github.com/h2o/qrintf ), replacing generic sprintf calls with specialised versions for a 10x speed boost - that seems like a brilliant idea, I wonder why it took so…
comment by Shish2k · 2014-12-25 · in Show HN: Initial release of H2O, and why HTTPD performance will matter in 2015