Re: Re: Fwd: little request :)

From: Date: Tue, 11 Feb 2014 00:39:55 +0000
Subject: Re: Re: Fwd: little request :)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Tjerk Meesters wrote:
This problem isn't about performance, not necessarily anyway; the primary problem that this rfc is attempting to solve is a string comparison function with the tightest possible Theta(given-length) runtime.
But it does perhaps show the performance improvement that could be made with the correctly engineered compare? The security problem compare is only required on a relatively small number of compares, while simple string compare is used a lot more extensively. A four or five fold improvement in speed may well result in improved performance in general, and by making that compare switch-able to always scan all a string it fulfils the security requirement as well? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

Thread (42 messages)

« previous php.internals (#72452) next »