Re:Wait-free queueing and ultra-low latency logging
by mortoray on Thursday May 29, 2014 @10:46AM
(#7816452)
That's essentially what pointers to string literals are. They are indexes into a constant data segment which contains the actual strings.
[ Parent
| on HN ]
Re:Wait-free queueing and ultra-low latency logging
by zwieback on Thursday May 29, 2014 @12:12PM
(#7816937)
Very true. The main reason we used them were a) they can be smaller and b) can we flushed to disk for later decoding more easily and c) it's easier to implement a selective logging algorithm if you're only interested in certain events.