[TRIVIAL] Fast-path for String.subsring(n,n)

Сергей Цыпанов sergei.tsypanov at yandex.ru
Tue Feb 25 15:42:19 UTC 2020


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



More information about the core-libs-dev mailing list