4 ms·
There are valuable use cases where this matters. For example, parsing FIX messages in finance, this allows you to parse the tag/value pairs with no memory alloc
by hermitdev 8y ago
There are valuable use cases where this matters. For example, parsing FIX messages in finance, this allows you to parse the tag/value pairs with no memory allocations, which matters in low latency HFT applications.
- quotemstr 8y agoIf you want speed, just build a lexer with ragel [1]. It's hard to go faster than a DFA. [1] http://www.colm.net/open-source/ragel/ http://www.colm.net/open-source/ragel/