Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^5: Efficient bit-twiddling in Perl.

by Tux (Abbot)
on Mar 01, 2013 at 14:05 UTC ( #1021265=note: print w/replies, xml ) Need Help??

in reply to Re^4: Efficient bit-twiddling in Perl.
in thread Efficient bit-twiddling in Perl.

tables generated sample data generated Shift&and took: 0.000000283640 seconds Lookup took: 0.000000553529 seconds Lookup3 took: 0.000000308301 seconds Lookup4 took: 0.000000435056 seconds Lookup5 took: 0.000000487484 seconds Lookup6 took: 0.000000454496 seconds Lookup7 took: 0.000000476669 seconds Linux 3.4.28-2.20-desktop [openSUSE 12.2 (Mantis)] x86_64 Xeon(R) CPU E5-1650 0 @ 3.20GHz/1200(12) x86_64 16009 Mb This is perl 5, version 16, subversion 2 (v5.16.2) built for x86_64-li +nux-ld

I think that proves my point in Re^3: Efficient bit-twiddling in Perl.

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^6: Efficient bit-twiddling in Perl.
by BrowserUk (Pope) on Mar 01, 2013 at 14:49 UTC
    I think that proves my point in Re^3: Efficient bit-twiddling in Perl.
    I am stunned by the 20% gain you get, and wonder if that would differ per perl version and/or architecture.

    It absolutely will, but as I said in the OP, this is for me, on my hardware. Not an exemplar for anyone else.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021265]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-06-19 00:08 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.