On Fri, Dec 19, 2014 at 11:14 AM, Ivan Gerasimov
<[email protected]> wrote:
> Sorry, it was meant to be:
>
>              if (count <= 0) {
>                  if (count < 0) {
>                      throw new StringIndexOutOfBoundsException(count);
>                  }
>                  if (offset <= value.length) {
>                      this.value = "".value;
>                      return;
>                  }
>              }

I support Ivan's idea of coalescing the rare branches into a slowpath.

Reply via email to