Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Pascucci Paradigm for ordered operations on a homogenous hash (specificlaly, mkdir from hash)

by MrNobo1024 (Hermit)
on Aug 18, 2002 at 20:25 UTC ( #191017=note: print w/ replies, xml ) Need Help??


in reply to Re: Pascucci Paradigm for ordered operations on a homogenous hash (specificlaly, mkdir from hash)
in thread Pascucci Paradigm for ordered operations on a homogenous hash (specificlaly, mkdir from hash)

The length builtin is fast. It dosen't need to calculate the string length, since the SVt_PV struct has that built in. The Schwartzian transform is good for sorting by an expensive function, but all that array creation/dereferencing will only slow things down with a fast function like length.

--MrNobo1024
s]]HrLfbfe|EbBibmv]e|s}w}ciZx^RYhL}e^print

  • Comment on Re: Re: Pascucci Paradigm for ordered operations on a homogenous hash (specificlaly, mkdir from hash)
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://191017]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-07-29 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (264 votes). Check out past polls.