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):