saranrsm has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am very much amazed by the fastness of the index function which out throws any other function that returns the position of a substring.
So, All I wanted to know is what makes the index function faster, is there any algorithm on which index function has been built or it is some else which make index function faster.
(I have already asked this question in Chatter box, but as I couldn't find an answer i am posting this question)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How Index function works??
by Corion (Patriarch) on Oct 24, 2011 at 07:36 UTC | |
by LanX (Saint) on Oct 24, 2011 at 08:22 UTC | |
by Corion (Patriarch) on Oct 24, 2011 at 08:41 UTC | |
by davido (Cardinal) on Oct 24, 2011 at 08:26 UTC | |
by LanX (Saint) on Oct 24, 2011 at 09:15 UTC | |
by Corion (Patriarch) on Oct 24, 2011 at 09:57 UTC | |
| |
by saranrsm (Acolyte) on Oct 24, 2011 at 08:32 UTC | |
by LanX (Saint) on Oct 24, 2011 at 09:22 UTC | |
|
Re: How Index function works??
by moritz (Cardinal) on Oct 24, 2011 at 07:37 UTC | |
by Anonymous Monk on Oct 25, 2011 at 04:27 UTC | |
by Corion (Patriarch) on Oct 25, 2011 at 06:26 UTC |