I don't think I've ever encountered a common practical programming situation where I wanted null-termination as the convention for strings.
So I think it would depend on _what_ you were lexing. If you're ever lexing keywords, I think count might be faster?
-
-
But yeah, I think if you're just "some short symbols and then 'identifier'", probably null terminator is faster...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.