Re: [PHP-DEV] Re: Unicode string iterator performance

2006-02-03 Thread Xuefer
On 2/4/06, Jessie Hernandez <[EMAIL PROTECTED]> wrote: > Hi Andrei, > > Pardon me for my ignorance, as I have not even looked at the Unicode > stuff, but based on what you wrote, what about always allocating two > UChars per codepoint? It would take a bit more space, but then > random-offset indexi

[PHP-DEV] Re: Unicode string iterator performance

2006-02-03 Thread Jessie Hernandez
Hi Andrei, Pardon me for my ignorance, as I have not even looked at the Unicode stuff, but based on what you wrote, what about always allocating two UChars per codepoint? It would take a bit more space, but then random-offset indexing is fast and easy (the codepoint would always start at "ind

[PHP-DEV] zend_extension?

2006-02-03 Thread Kendal Yee
I'm trying to build a zend_extension with a statement_handler() hookup. In the course, I ran into several problem and one of the major one is inside the function zend_eval_string(). In there, it always set CG(no_extensions)=1 before entering the zend_execute() function, and reset CG(no_extensions

Re: [PHP-DEV] CVS Account Request: amistry

2006-02-03 Thread Anish Mistry
On Friday 27 January 2006 21:11, Anish Mistry wrote: > Re: [PEAR-QA] Re: Net_Sieve maintainer > From: Arnaud Limbourg <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Today 03:29:17 am > > Hi, > > Go ahead, having a maintainer is a good thing :) > > I'll update the package homepage. > > Arnaud.

[PHP-DEV] session extension patch merge

2006-02-03 Thread Brian J. France
I just tracked down a problem in the session extension and it looks like it was caused by a patch not getting merged back to head (which became PHP_5_1). This patch: http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c? view=log&pathrev=PHP_4_4#rev1.336.2.40 is missing from PHP_5_

Re: [PHP-DEV] Unicode string iterator performance

2006-02-03 Thread Andrei Zmievski
That's still sequential, and not random access. -Andrei On Feb 2, 2006, at 11:29 PM, Stefan Walk wrote: I think the most common usage would be grabbing one or a few characters and then going to do something else... if that happens alot, it will look more like like "random" string access than

[PHP-DEV] is this a bug in the soap extension?

2006-02-03 Thread Greg Beaver
Hi all, When I load the simple example for geocoding with this code: http://geocoder.us/dist/eg/clients/GeoCoder.wsdl $client = new SoapClient("geocoder.wsdl"); // Retrieve the address coordinates $result = $client->geocode("411 Woody Hayes Dr, Columbus, OH"); // Dump the returned obj

[PHP-DEV] Infrmation angående offertförfrågan hos BBC samt Bju rfors

2006-02-03 Thread Mattias Segerdahl
Kära grannar, Under dagens lopp har Marcus och Ulla-Karin fått respons tillbaka på de 2 offertförfrågningar som vi skickade iväg I morse. Båda firmorna förstår våran tidspress och har därför agerat därefter. Bjurors återkom med ett bud på 320,000.00, vilket vi anser vara alldeles för hö

Re: [PHP-DEV] Re: Unicode string iterator performance

2006-02-03 Thread Christian Schneider
First of all I was simply proposing a very generic concept without bothering about the implementation on purpose. If it's not feasible then simply ignore it. Marcus Boerger wrote: caching? There is nothing to cache. And even if we would do that we would make every string an object since we w

Re: [PHP-DEV] Re: Unicode string iterator performance

2006-02-03 Thread Marcus Boerger
Hello Christian, caching? There is nothing to cache. And even if we would do that we would make every string an object since we would need to invalidate the position cache on write operations. Also i agree with the others that most common usage would be accessing a few chars probably changing th