Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21782 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12788 invoked by uid 1010); 3 Feb 2006 06:38:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12772 invoked from network); 3 Feb 2006 06:38:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2006 06:38:43 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:35500] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FF/62-41770-27AF2E34 for ; Fri, 03 Feb 2006 01:38:43 -0500 Received: from [192.168.11.5] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k136cdrU001703; Thu, 2 Feb 2006 22:38:39 -0800 In-Reply-To: <43E2B014.1050103@prohost.org> References: <43E2B014.1050103@prohost.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: PHP Developers Mailing List , php-i18n@lists.php.net Content-Transfer-Encoding: 7bit Date: Thu, 2 Feb 2006 22:38:44 -0800 To: Ilia Alshanetsky X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: ClamAV 0.88/1272/Thu Feb 2 14:27:32 2006 on colo X-Virus-Status: Clean Subject: Re: [PHP-DEV] Unicode string iterator performance From: andrei@gravitonic.com (Andrei Zmievski) On Feb 2, 2006, at 5:21 PM, Ilia Alshanetsky wrote: > > The real test however would be random character access, rather then > sequential scans from start to end :-). How often do you access random characters in a string vs. sequential scans? Which is the more likely scenario in PHP scripts? I think it's the latter. -Andrei