Skip to content
Snippets Groups Projects
Commit 79a6348e authored by Marek Vavruša's avatar Marek Vavruša
Browse files

pkt: switched to allocd rr/rrinfo fields to reduce memory footprint

this comes with some extra CPU cost, however:
- parsed packets are prealloc'd based on header information, so no
  reallocs
- constructed packets are alloc'd by steps
- packet construction / copy is  cheaper now
- doesn't matter when the mm backend is mempool anyway

the rationale for this change is the use in resolver and in smaller
installations
parent 48418c8c
No related branches found
No related tags found
1 merge request!329Resolver improvements
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment