laziness, impatience, and hubris | |
PerlMonks |
Re: Re^4: xml parsers: do I need one?by exussum0 (Vicar) |
on Sep 01, 2003 at 18:14 UTC ( [id://288175]=note: print w/replies, xml ) | Need Help?? |
"low level" has nothing to do w/ it. Doing things like strcmp (strncmp) isn't as efficient as java strings, since hash's comparisons MAY be faster.
Try doing a strncmp of say, two identical 10k byte strings, but when you do a.equals(b), where a,b are strings, then doing equals() should be faster, since the hash values are calculated and compared, using specific algorithms that are prolly faster in the long term.
---
In Section
Seekers of Perl Wisdom
|
|