Zheng Shao wrote:
We need to implement a version of Integer.parseInt/atoi from byte[] instead of
String to avoid the high cost of creating a String object.
I wanted to take the open jdk code but the license is GPL:
http://www.docjar.com/html/api/java/lang/Integer.java.html
Does anybody know an
Hey zheng,
Maybe you can try ragel ,which can compile very effective codes for your fsm
from regex. The atoi function produced by ragel can run faster than
glibc's. It also targets java.
http://www.complang.org/ragel/
On Wed, Feb 11, 2009 at 4:18 AM, Zheng Shao wrote:
> We need to implement a
We need to implement a version of Integer.parseInt/atoi from byte[] instead of
String to avoid the high cost of creating a String object.
I wanted to take the open jdk code but the license is GPL:
http://www.docjar.com/html/api/java/lang/Integer.java.html
Does anybody know an implementation that