Java Reference
In-Depth Information
Performance considerations with java core
tokenization
When using these core Java tokenization approaches, it is worthwhile to briefly discuss
how well they perform. Measuring performance can be tricky at times due to the various
factors that can impact code execution. With that said, an interesting comparison of the per-
formance of several Java core tokenization techniques is found at http://stackoverflow.com/
questions/5965767/performance-of-stringtokenizer-class-vs-split-method-in-java . For the
problem they were addressing, the indexOf method was fastest.
Search WWH ::




Custom Search