RE: Bliss update

new topic     » goto parent     » topic index » view thread      » older message » newer message

>I'd like to see a variation of the find() and match() functions.
>
>   findfrom(a,b,c)
>and
>   matchfrom(a,b,c)
>
>    These would look for/match 'a' inside 'b', starting from the c'th
>position. If c < 1 or > length(b) zero would be returned.
>
>This would speed up many searching algorithms that need to look for 
>multiple
>instances of 'a' in 'b'.

What's wrong with find(a,b[c..length(b)]) ?

I don't think you'd get much speed improvement.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__| Mr Trick

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu