Date: 2024-10-10 16:40:01
Score: 1
Natty:
- to avoid this problem in the first place
pyt = pytricia.PyTricia(128)
- When using only 32 bits trie with IPv6 the pytricia implementation should be logically consistent i.e. len([x for x in y if x not in y]) MUST RETURN 0! I can only assume that under the hood there is a bug. Either refuse to add IPv6 prefixes completely if only 32 bits (insufficient bits for the prefix) are used or have a logically consistent implementation.
Reasons:
- Has code block (-0.5):
- Self-answer (0.5):
- Low reputation (1):
Posted by: Gabriel