Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^8: Faster Luhn Check Digit Calculation?

by BrowserUk (Patriarch)
on Dec 02, 2018 at 07:45 UTC ( [id://1226617]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    }
    printf "Took %.9f seconds.\n", time() - $start;
    
  2. or download this
    C:\test>luhn
    4011350000000008: 8
    ...
    4011350000000081: 1
    4011350000000099: 9
    Took 0.697062969 seconds.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-16 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found