Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Should multiplication by integer be avoided in favour of division for performance reasons? (benchmark pitfalls)

by swl (Parson)
on Nov 29, 2019 at 22:53 UTC ( [id://11109461]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Should multiplication by integer be avoided in favour of division for performance reasons? (benchmark pitfalls)
in thread Should multiplication by integer be avoided in favour of division for performance reasons?

Thanks for the details. I did get some improvements a while ago with some Inline::C code by pushing the loops into the C part instead of just the loop bodies, but don't recall seeing differences like those reported higher in this thread.

I'll have a peruse of the XS docs and Sub::Block.

  • Comment on Re^5: Should multiplication by integer be avoided in favour of division for performance reasons? (benchmark pitfalls)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-24 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found