[syslog-ng] [PATCH (3.4) 0/1]: Further value-pairs improvements
Gergely Nagy
algernon at balabit.hu
Mon Feb 13 16:25:15 CET 2012
As hinted at earlier, I changed the internals of value-pairs to use a
GPtrArray instead of a GHashTable, because of performance
considerations, and other reasons.
It turns out, that this is not as big a gain as I thought (my tests
suggest that the improvement is well within the margin of error, after
a dozen of test runs, each for 2 minutes of constant log sending, the
difference is about 30 messages / sec).
Nevertheless, I like PtrArrays better, not only due to the minor
performance gain, but because I plan to reuse them later on for
another feature.
--
|8]
More information about the syslog-ng
mailing list