[kw-pm] [CHALLENGE] Fastest timers

Matt Sergeant matt at sergeant.org
Tue Jul 26 14:18:36 PDT 2005


OK, so I have a benchmark script here which will get people started. 
You'll need Heap::Simple, Heap::Simple::Perl and Heap::Simple::XS to 
get you started.

This implements my original algorithm, mine plus a binary search to 
find the insert point, and a few other (slower) algorithms for you to 
play with.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: timerbench.pl
Type: application/text
Size: 10558 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/kw-pm/attachments/20050726/37c51375/timerbench.bin


More information about the kw-pm mailing list