If Performance is a Matters !!!
In this blog I am going to discuss about my experience in measuring the fastness of different Tokenizing techniques in Java.
Tokenizing! The first that comes to our mind is StringTokenizer.
When you google it, the other popular things are Scanner, String.split() .
Scanner can me more handy if we want to split the string based on Regex. Of the above three based on the fastness of tokenizing StringTokenizer wins the race followed by Scanner and split.
Thursday, June 04, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment