I'm drowning in PHP

Andy Armstrong andy at hexten.net
Tue May 15 13:19:04 BST 2007


On 15 May 2007, at 13:09, mirod wrote:
>> That and the fact that it's not actually N^2 :)
>
> Well, it is if strlen($str) is O(N), as it might well be in C for  
> example.

Well quite - but it isn't O(N) in PHP, it's O(1). Which is why I said  
it's not N^2 :)

(am I repeating myself here?)

-- 
Andy Armstrong, hexten.net



More information about the london.pm mailing list