3 ms·
Yeah, a callback approach like this is actually one of common strategies for data structures implemented in C. Others include a requirement that both the key an
by lifthrasiir 8y ago
Yeah, a callback approach like this is actually one of common strategies for data structures implemented in C. Others include a requirement that both the key and value should be byte sequences or equivalent (you can always `memcpy` primitives from/to byte sequences).