AdoptOpenJDK/openjdk-jdk11
View on GitHub ↗ ★ 265 Java archived
Mirror of the jdk/jdk11 Mercurial forest at OpenJDK
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-07-27 · latest 2021-03-23
20082026
-
…not sure why having the separate exception is better than letting the array access throw directly? https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/19fb8f93c...
comment by esprehn · 2021-03-23 · in FastDoubleParser: Java port of Daniel Lemires fast_double_parser -
…"begin " + begin + ", end " + end + ", length " + length); } } (as it should, in my opinion). [1] https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/f0ef2826d... [2] https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/f0ef2826d...
comment by thamer · 2020-10-28 · in Strict APIs vs. Forgiving APIs -
I'm no Java ninja, but a few things jump out of https://github.com/AdoptOpenJDK/openjdk-jdk11/blob/19fb8f93c... : - at least one heap allocation for every line. After it finds the EOL it first uses 'new String' followed by '.toString() -…
comment by d2mw · 2019-07-27 · in How fast can a BufferedReader read lines in Java?