Re: Sequence Slicing (Was RE: Tough ciphers?)

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

Chris' results with range_find() are comparable to bechmarks from a while
ago about a binary searcj routine vs. find on a sorted sequence--the break
even point is about 300 for sequence data and about 500 for integer data.

For the specific case of finding the last element of a sequence of 10,000
strings, the benchmark varies quite a bit based on how different the
non-matching strings are from the search string: the fastest times are when
the other strings are a different length, the next fastest when the first
character is different, then when the second character is different, etc.

--Mike Nelson

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

Search



Quick Links

User menu

Not signed in.

Misc Menu