Skip to content
Snippets Groups Projects
Commit 6eba53de authored by Marc van der Wal's avatar Marc van der Wal
Browse files

DNSName.pm: apply a few more optimizations

I’m less sure about whether these particular optimizations do any good,
because the speedup I’ve measured is too small to be statistically
significant. The code in question is not used often.

But because we know that the “name” attribute of a
Zonemaster::Engine::Zone is always a Zonemaster::Engine::DNSName, we can
take a little shortcut.
parent d44ebe21
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment