2007-02-26 11:05:18 -05:00
|
|
|
TODO items.
|
|
|
|
|
o use real entropy to make random (ID, port) numbers more random.
|
2007-03-02 04:03:14 -05:00
|
|
|
o in production mode, do not free memory on exit. In debug mode, test leaks.
|
2007-03-07 11:21:31 -05:00
|
|
|
o profile memory allocation, and if performance issues, use special memory
|
|
|
|
|
allocator. For example, with caches per thread.
|
2007-04-05 10:53:32 -04:00
|
|
|
o #define BIT_... different on bigendian and smallendian systems so that
|
|
|
|
|
the htons on flags is not needed to send a message from the cache.
|
2007-04-16 11:21:50 -04:00
|
|
|
o possible optimization with delayed malloc of msgreply after parse
|
|
|
|
|
(reuse parse structures and ptrs to packet in meantime).
|
|
|
|
|
o possible optimization, so that precious id number resource is not depleted
|
|
|
|
|
by parsing of messages. Delay malloc, as above, or try to reverse release
|
|
|
|
|
special id numbers, and if you release the next_id number for the thread
|
|
|
|
|
it reuses that id number.
|
2007-04-18 09:57:01 -04:00
|
|
|
o calculate rdata size during parse step, instead of delay until copy.
|