tag:blogger.com,1999:blog-7740508804614029369.post6850936662248963351..comments2023-10-28T19:14:32.102+07:00Comments on Love Coding: HashSet implementation in JavascriptUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7740508804614029369.post-9310027962333452902013-02-21T13:00:29.311+07:002013-02-21T13:00:29.311+07:00Check out http://www.mojavelinux.com/articles/java...Check out http://www.mojavelinux.com/articles/javascript_hashes.html insteadJeremy Shttps://www.blogger.com/profile/03355192361484512312noreply@blogger.comtag:blogger.com,1999:blog-7740508804614029369.post-27476285916785527512013-02-21T12:58:41.083+07:002013-02-21T12:58:41.083+07:00Isn't a hashset also supposed to ensure unique...Isn't a hashset also supposed to ensure unique values? You could do this with an internal key-value object instead of an Array, and just use blank values.Jeremy Shttps://www.blogger.com/profile/03355192361484512312noreply@blogger.comtag:blogger.com,1999:blog-7740508804614029369.post-66299006193301607532012-08-22T03:29:17.081+07:002012-08-22T03:29:17.081+07:00DO NOT USE THIS. This is NOT a HashSet. A HashSet ...DO NOT USE THIS. This is NOT a HashSet. A HashSet needs to use a Hashtable to store it's key-value pairs (thus the name). This is a wrapper around an array and will have poor performance (linear as opposed to constant) as the number of items stored in it increase.Anonymousnoreply@blogger.com