This project is read-only.
What about the memory usage?

CrossNet is very light, you can compare between the C++ benchmark and the CrossNet benchmark and the overhead is around 88 Kb.

Structures don't have a particular memory overhead.
Classes take at least 12 bytes though:
  • 4 bytes for the VTable.
  • 4 bytes for the interface map.
  • 4 bytes for some flags.

Also compared to C++, CrossNet must allocate memory for the interface map, usually only few dozen of bytes are needed per types.

Last edited Sep 7, 2007 at 6:57 PM by OlivierNallet, version 1


No comments yet.