MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerTIL/comments/77yhd5/java_hashsett_just_uses_hashmapt_object_behind/doq9syf/?context=3
r/ProgrammerTIL • u/c0d3m0nky • Oct 22 '17
https://imgur.com/a/A26Th
35 comments sorted by
View all comments
Show parent comment
2
Ruby uses hashes under the hood also.
Sets are tables with constraints added, it makes sense to use tables to implement them.
View all comments
Show parent comment
2
u/xonjas Oct 22 '17
Ruby uses hashes under the hood also.
Sets are tables with constraints added, it makes sense to use tables to implement them.