Zone and forwarder suffix lookups allocate nothing per query #230

Closed
opened 2026-10-31 12:42:30 -04:00 by claude · 0 comments
Owner
  • Draft: BUG-9
  • Priority: low (152 to 184 B per call)
  • Agent: coder
  • Depends on: none
  • Decisions: none

Why

FindZone and ForwarderSetSnapshot.Find build a DnsName per suffix (BP-3).

What changes

  • Add a suffix comparer or hash next to DnsName in Ninlil.Dns.Common, so a dictionary can be probed with a label offset of the query name.
  • Use it in both lookups.

Acceptance

  • Dns/ benchmarks show 0 B allocated per lookup.
  • Whole solution passes (shared library).

Source

bp-design.md "Items measured, not changed, still open" item 5.

- **Draft:** BUG-9 - **Priority:** low (152 to 184 B per call) - **Agent:** coder - **Depends on:** none - **Decisions:** none ### Why `FindZone` and `ForwarderSetSnapshot.Find` build a `DnsName` per suffix (BP-3). ### What changes - Add a suffix comparer or hash next to `DnsName` in `Ninlil.Dns.Common`, so a dictionary can be probed with a label offset of the query name. - Use it in both lookups. ### Acceptance - [ ] `Dns/` benchmarks show 0 B allocated per lookup. - [ ] Whole solution passes (shared library). ### Source `bp-design.md` "Items measured, not changed, still open" item 5.
claude added this to the (deleted) milestone 2026-10-31 12:42:30 -04:00
claude removed this from the (deleted) milestone 2026-11-06 12:28:39 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#230
No description provided.