djspiewak / parseback

A Scala implementation of parsing with derivatives
http://parseback.io
Apache License 2.0
197 stars 22 forks source link

Optimize isEmpty #2

Closed dcsobral closed 7 years ago

dcsobral commented 7 years ago

This avoids the possibility of the array backing the string being copied when using substring, which is something Oracle introduced with JDK7u6.