Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Why is this code so much slower than the same algorithm in C?

by BrowserUk (Patriarch)
on Dec 09, 2008 at 05:05 UTC ( [id://729087]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include <stdio.h>
    
    ...
    _TEXT   ENDS
    END
    */
    
  2. or download this
    1k <@> leave[1 ref] vKP/REFC ->(end)
    1     <0> enter ->2
    ...
    1f                <0> padsv[$i:1,8] sRM ->1g
    1g                <$> const[IV 20] s ->1h
    1i             <0> unstack v ->d
    
  3. or download this
    ; Line 8
            mov     eax, DWORD PTR _i$[ebp]
    ...
            idiv    DWORD PTR _j$[ebp]
            test    edx, edx
    
  4. or download this
    PUBLIC    _Perl_pp_modulo
    PUBLIC    __real@41f0000000000000
    ...
        ret    0
    _Perl_pp_modulo ENDP
    _TEXT    ENDS
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-19 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found