in reply to Re^3: Alternative to bytes::length()
in thread Alternative to bytes::length()
I believe that your 'utf8' case is mostly benchmarking the pulling out of the character count cached in the magic, thus completely missing the original problem. Even if it weren't, I don't see how your benchmark provides any justification for not using eq '' (which perhaps you weren't trying to imply).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Alternative to bytes::length() (7% solution)
by BrowserUk (Patriarch) on Dec 23, 2009 at 13:40 UTC | |
by creamygoodness (Curate) on Dec 23, 2009 at 16:09 UTC | |
by BrowserUk (Patriarch) on Dec 23, 2009 at 16:58 UTC |