Re: [containers-users] Request for comments on BiMap

2018-02-24 Thread Drup
Why not call this "Bijection" or "BijMap" ? BiMap simply implies two maps. This a bit more specific. Le 23/02/2018 à 01:37, SP a écrit : I've started working on a BiMap, a map where (key, value) is also (value, key) in a one-to-one relationship.

Re: [containers-users] Request for comments on BiMap

2018-02-24 Thread Simon Cruanes
Le Sat, 24 Feb 2018, Drup wrote: > Why not call this "Bijection" or "BijMap" ? BiMap simply implies two maps. > This a bit more specific. It makes sense! `Bijection` is about the intent, `BiMap` ties to an implementation. However if we change the name we still have to convey that it's a

Re: [containers-users] Possible additions to Containers and Friends

2018-02-24 Thread Simon Cruanes
Le Sat, 24 Feb 2018, Drup wrote: > Shouldn't we just standardize on bunzli's libraries (including the new > https://github.com/dbuenzli/utext) instead of trying to re-write code that > usually ends up being quite subtle in each standard library ? We could build on uutf, it's relatively small and