Instead of using ByteBuffer (which always malloc() their storage) for IPC message encoding, we now use a Vector<u8, 1024>, which means that messages smaller than 1 KB avoid heap allocation entirely. |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| Makefile | ||
Instead of using ByteBuffer (which always malloc() their storage) for IPC message encoding, we now use a Vector<u8, 1024>, which means that messages smaller than 1 KB avoid heap allocation entirely. |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| Makefile | ||