Skip Menu |

This queue is for tickets about the Net-Patricia CPAN distribution.

Report information
The Basics
Id: 51451
Status: new
Priority: 0/
Queue: Net-Patricia

People
Owner: Nobody in particular
Requestors: PHILIPP [...] cpan.org
Cc: dplonka [...] cpan.org
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.15_01
Fixed in: (no value)



Subject: Support for opaque bitstrings (blobs) of arbitrary length needed
With a little hackery, support could be added to do DNS matching, via: my $blob = join('.', reverse(split(/\./, $domain_name))); and then searching on the nearest to $blob, length($blob) * 8 ... Issue is that libpatricia makes a pessimistic assumption about the density of the trie (i.e. worst case, one fork per bit) which causes it to be a stack hog.