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

> You could easily design a stream parser that rejects duplicates before it passes them off to the user, by maintaining a set of already encountered keys within the parser state.

You could, but you are not allowed to. Protobuf parsing requires that the last duplicate key wins.



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

Search: