openjdk-mirror/jdk7u-jdk
View on GitHub ↗ ★ 541 Java
8 mentions on Hacker News by 8 people: 0 stories, 8 comments · first 2017-08-23 · latest 2024-10-02
20082026
-
…entry) for that like LinkedHashMap: https://docs.oracle.com/javase//8/docs/api/java/util/LinkedH... https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/... Which is also what Python seems to be doing:…
comment by quelltext · 2024-10-02 · in Hash Ordering and Hyrum's Law -
…to make lock-free, while lock-free (even unbalanced) binary search trees are an absolute nightmare. https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
comment by senderista · 2024-03-10 · in What Cannot be Skipped About the Skiplist -
Here is the JDK 7 String#hashCode(), which operates on characters: https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89... . That's changed in the newer versions, because String has a `byte[]` not a `char[]`, but it was just fine.…
comment by hyperpape · 2023-10-19 · in Requiem for a stringref -
…the comments/javadocs offer some hint. As to why they're designed this way, that's a good question. https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
comment by marginalia_nu · 2023-03-12 · in Don't Share Java FileChannels -
…for you? Oh, both use linked lists, https://github.com/erlang/otp/blob/master/lib/stdlib/src/que... https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/...
comment by waynesonfire · 2022-11-04 · in In defense of linked lists -
…the scenes, they put a "present" placeholder value in the map when adding an element to the set: https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89...
comment by rzzzt · 2021-07-20 · in JVM Anatomy Quark #26: Identity Hash Code -
…s://svn.python.org/projects/python/trunk/Objects/listsor... . (Java actually ended up borrowing that: https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/... ) Something high-level, for instance, django-treebeard's approaches…
comment by git-pull · 2017-12-11 · in A computer science study plan -
…} > That’s it. No more looping, just a simple check. And how is set.contains implemented? https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/... wraps https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/... public boolean…
comment by e12e · 2017-08-23 · in Code Smells: Iteration