alecthomas / mph

Minimal Perfect Hashing for Go
BSD 3-Clause "New" or "Revised" License
172 stars 23 forks source link

key/value Iteration starting from 1 minhash value #8

Open vseledkin opened 7 years ago

vseledkin commented 7 years ago

It probably must start from 0? one key and value which is at 0 is always missed when using iterator correction: iterator interface is a bit confusing, right pattern of usage get() next() get() instead of more usual next() get() next() get() or better hasNext() get() hasNext() get()

domino14 commented 5 years ago

what