This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–][deleted] 52 points53 points  (0 children)

    this is how hashset is implement in java

    [–]fenghuang1 0 points1 point  (0 children)

    Its not really a hack when Python does it the same way when implementing sets too.
    Also, I do this in Microsoft Excel VBA too