mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-27 04:04:53 +02:00
git-svn-id: file:///svn/unbound/trunk@250 be551aaa-1e26-0410-a405-d3ace91eadb9
15 lines
876 B
Plaintext
15 lines
876 B
Plaintext
TODO items.
|
|
o use real entropy to make random (ID, port) numbers more random.
|
|
o in production mode, do not free memory on exit. In debug mode, test leaks.
|
|
o profile memory allocation, and if performance issues, use special memory
|
|
allocator. For example, with caches per thread.
|
|
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.
|
|
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.
|
|
o calculate rdata size during parse step, instead of delay until copy.
|