Commit graph

3 commits

Author SHA1 Message Date
Marcel Hellkamp
1b36a66243 Optimized decimal and hex string parsing in hot path.
Using specialized and inline-able parsers instead of strtoul() improved
pixel throughput from ~63MB/s to ~83MB/s (+30%) on a single core
on my machine.

As a side effect, the PX command now allows any non-decimal
character as separator between parameters ¯\_(ツ)_/¯
2018-04-02 17:26:08 +02:00
Marcel Hellkamp
f04796ec8b Build with -O2 by default and -g with make debug 2018-03-29 15:24:17 +02:00
Marcel Hellkamp
68c34c5346 Added C implementation (incomplete) 2018-03-28 22:20:03 +02:00