[no subject]

2020-02-25 Thread Сергей Цыпанов
Hello, current implementation of String.substring(int,int) has a fast-path for the case when beginIndex = 0 and endIndex = length. I think there should be similar fast-path for the case beginIndex = endIndex (asuming both are valid): diff --git a/src/java.base/share/classes/java/lang/String.ja

[no subject]

2018-11-12 Thread Vladimir Yaroslavskiy
Hi Laurent, The test suite was described in this paper Jon L. Bentley, M. Douglas McILroy “Engineering a Sort Function”, 1993 I use Java version (a little bit extended), see attachment. What you need is to specified sorting classes in IntSorter.java and run BentleyBasher. Please let me know if