Commit 2958f5b9 authored by Jack Koenig's avatar Jack Koenig
Browse files

WIP on trying to save a contains check in Namespace

It relies on the observation that when a name is taken and we have
determined our disambiguation index, it's possible we don't actually
need to check the HashMap again to see if name + index is in it. We
would only need to do so if previously there has been a name added that
shares our prefix and happens to have an index itself. This commit is a
WIP to make this work, but it's quite hard to get right and the normal
names.get path needs to also do a prefix check. See the final test in
NamespaceSpec which fails (yay good tests!)
parent 75ab9d9f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment