Re: Ada bench




Matthew Heaney <matthewjheaney@xxxxxxxxxxxxx> writes:

> That was my source for the algorithm (in fact there's a comment to that
> effect), but it looks like it was changed since I adapted it.

Yes it has. The rotate of 1 was not good for small strings.

Pascal.

--

--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
.



Relevant Pages

  • Re: Printf problem with big numbers....
    ... But I changed my algorithm, and now work directly in base 2, and ... instead of printing the results in base 10 or base 2, ... strings, and not with numbers, so it is ok. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Fibonacci string
    ... > If we're allowed to change the algorithm as long as the same strings ... I think we should *always* consider a change in algorithm when playing ... Anno ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Fibonacci string
    ... > If we're allowed to change the algorithm as long as the same strings ... I think we should *always* consider a change in algorithm when playing ... Anno ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Best Job Skill --> .NET or Java
    ... strings, ... But the same basic brute-force algorithm was ... It compiled a histogram of trigrams, ... finds one random trigram that is unique, it expands that one, ...
    (comp.programming)
  • Re: How to efficiently determine if a string contains any one of many strings
    ... If you are looking to apply an algorithm similar to determining what is ... the algorithm that is used in most heuristic spam filters. ... kinds of classifications lend themselves to searches for string literals: ... Of course, assuming more input strings to match, you'd have a lot more ...
    (microsoft.public.dotnet.languages.csharp)