Optimising words

Neil Mitchell ndmitchell at gmail.com
Wed Jul 11 05:22:25 EDT 2007


Hi

> > Now we have eliminated an extra isSpace test per character, and as it
> > happens, isSpace is very slow.
>
> Isn't it possible to improve isSpace, too?

Yes, most definitely. But unless we improve it to the stage where it
takes 0 time, its still worth eliminating useless additional calls.

Thanks

Neil


More information about the Libraries mailing list