haproxy/admin/halog
Willy Tarreau e9f4d67b15 OPTIM: halog: skip fields 64 bits at a time when supported
Some architectures like x86_64 and aarch64 support efficient unaligned
64-bit reads. On such architectures, we already know that each string
passed to field_start() has some margin at the end because it's parsed
using fgets2() which looks for the trailing LF using the same method.
Thus let's skip spaces by packs of 8. This increases the parsing speed
by 35%.
2021-11-08 12:08:26 +01:00
..
README BUILD: makefile: build halog with the correct flags 2021-04-02 17:48:42 +02:00
fgets2.c BUILD: halog: fix a -Wundef warning on non-glibc systems 2021-09-13 09:32:01 +02:00
halog.c OPTIM: halog: skip fields 64 bits at a time when supported 2021-11-08 12:08:26 +01:00

README

This needs to be built from the top makefile, for example :

  make admin/halog/halog