tels yszrnxnpjfcbloodgatecom moin monday 15 october 2007 120720 demerphq wrote 101507 andy lester wrote db3 cmpthese 1000000 regex sub return 1 x substr sub return 1 substrx01 rate regex substr regex 729927s 11 substr 819672s 12 dunno 586 looks like mellab cat timer usrbinperl use strict use warnings use benchmark qw cmpthese timethese foo bar x timethese 50_000_000 substr sub x 1 substr foo 1 eq regexy sub x 1 foo mellab timer benchmark timing 50000000 iterations regexy substr regexy 9 wallclock secs 816 usr 003 sys 819 cpu 610500611s n50000000 substr 11 wallclock secs 1032 usr 002 sys 1030 cpu 485436893s n50000000 get following perl 588 win32 benchmark running regexy substr least 2 cpu seconds regexy 0 wallclock secs 202 usr 000 sys 202 cpu 491856746s n9915832 substr 2 wallclock secs 203 usr 000 sys 203 cpu 357192467s n7254579 switching benchmark check first character get benchmark running regexy substr least 2 cpu seconds regexy 3 wallclock secs 211 usr 001 sys 212 cpu 568191243s n12068382 substr 0 wallclock secs 213 usr 000 sys 213 cpu 331003104s n7037126 quite odd actually wouldnt expected wonder substra01 slower addition variants faster without return timethese 5 substr sub return substr foo 1 eq 1 0 regexy sub return foo 1 0 eq sub substr foo 1 eq 1 0 sub foo 1 0 7s 511 usr 000 sys 511 cpu 6169438s n31525829 eq 7s 504 usr 004 sys 508 cpu 5628872s n28594671 regexy 5s 518 usr 000 sys 518 cpu 5233689s n27110514 substr 7s 582 usr 000 sys 582 cpu 3700350s n21536042 best wishes tels signed mon oct 15 172401 2007 key 0x93b84c15 view photo gallery httpbloodgatecomphotos pgp key httpbloodgatecomtelsasc per email confirm experimentally inspired development implanted electrodes bowl tomato soup amount deep electrical stimulation could bring soup anything could recognize consciousness ability communicate improved possibly failure deep electrical stimulation elicit desired response something vegetative state tomatoes used make soup mind going conducting experiments using crab bisque ohreally_factor 593551 20070805 20119773 wed 06 aug 2008 150807 0200 pathtools beta testing