mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
67c0b7b39b
- Condense the allocator section in defs.h and make it match the surrounding style. - Use real calloc in c3_calloc. Some guy on the internet says calloc can be faster than malloc since the OS may not actually need to call memset. - Replace calloc calls in vere code with c3_calloc. Note that I left the c3_calloc definition as-is (i.e., not taking a count argument). I was going to change it, but it seems like count is 1 at all call sites. If it's ever used with count != 1, I'd be in support of changing it, fwiw. |
||
---|---|---|
.. | ||
defs.h | ||
motes.h | ||
portable.h | ||
types.h |