Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, the duplicate key business came in because of other code hanging off the side of the search (a rather hairy algorithm that was searching for the next key with a different letter in a position -- given KLXX, increment the 2nd position until there's a key matching that criteria -- KLXX --> KMAA, or if there are no KM's, KN, KO, etc....


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: