Reduce the number of memory allocations
Reduce the number of memory allocations

Make the string escape use an ul_buffer_t, to avoid unnecessary memory
allocations. This greatly reduces the number of mallocs made, and thus
results in a noticable increase in speed.

Signed-off-by: Gergely Nagy <6780fac3b38619ac20422286e4110a70dbba2203@madhouse-project.org>

deirf/libumberlog