in reply to Re: is index faster than regexp for fixed text token?
in thread is index faster than regexp for fixed text token?
I studied Boyer-Moore in my first C Algorithms class under the very demanding Dr. Wong. I'll never forget him, he took points off my code for forgetting to comment, and I learned as much as 50% of my programming craft from him. Nearly failed that class! I was such a geek and I signed up for it as a freshman, when he taught it like a graduate course. I got the impression that he didn't like me...but that probably made me study harder! He also showed me the XOR trick for swapping two registers without an intermediary:
$a^=$b; $b^=$a; $a^=$b; # swap a and b
SSF
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: is index faster than regexp for fixed text token?
by roboticus (Chancellor) on Jul 05, 2009 at 17:31 UTC | |
|
Re^3: is index faster than regexp for fixed text token?
by Marshall (Canon) on Jul 06, 2009 at 06:27 UTC | |
by sflitman (Hermit) on Jul 11, 2009 at 01:41 UTC | |
by Marshall (Canon) on Jul 13, 2009 at 00:27 UTC |