Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Alternative to bytes::length()

by creamygoodness (Curate)
on Dec 23, 2009 at 02:25 UTC ( #814043=note: print w/replies, xml ) Need Help??


in reply to Re^3: Alternative to bytes::length()
in thread Alternative to bytes::length()

Looks like you found the caching mechanism. From perlguts:
w PERL_MAGIC_utf8 vtbl_utf8 UTF-8 length+offset cac +he

As for keeping bytes... meh, my attachment to the bytes pragma extended only to that use case, as the efficiency of CORE::length() with SVf_UTF8 scalars is a bummer. I'm not even going to bother posting to p5p now that my concern has been addressed another way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814043]
help
Chatterbox?
[hippo]: It may be too far down the tree for some folks to bother with, but IMHO, Re^32: global var is probably node of the day already. (++)
[Lady_Aleena]: Discipulus, print working directory?
[Corion]: "P(ass)w(or)d" ;)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-04-26 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (471 votes). Check out past polls.