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

2008-06-11 Thread Hannes Magnusson
On Thu, Jun 12, 2008 at 01:14, Gregory Beaver <[EMAIL PROTECTED]> wrote: > the solution is actually a technical one (being able to filter > unapproved accounts by project at master.php.net, i.e. PEAR requests > only are shown), along with the patch Hannes has already committed. I don't have access

[PHP-DEV] [HEADSUP] Changes in CVS account request notifications

2008-06-11 Thread Hannes Magnusson
Hi all (cross-posting to all relevant lists) Yesterday we did minor changes in the CVS account request notifications, meaning all requests no longer go to internals@ but their relevant mailinglists. As of yesterday people requesting CVS accounts can pick between PHP, PEAR, PECL and doc to send th

[PHP-DEV] missing pestrndup

2008-06-11 Thread Gregory Beaver
Hi, Is there any reason pestrndup is missing from PHP 5.3's zend_alloc.h but is present in HEAD? Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] HEAD tests broken under Windows

2008-06-11 Thread Steph Fox
Hi all, I'm hopeful that run-tests.php will now work as advertised under CVS HEAD in most places. However it's still not right under Windows, and I finally tracked that down to the fact that file_put_contents() in PHP 6 will insist on creating a file with DOS line endings. The test files are

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Michal Dziemianko
I;ve just noticed that the diff I posted is form my test-bed, not the actual final version. the code should be: if (needle_len == 1){ return (char *)memchr(p, *needle, (end-p)); } instead of + if (needle_len == 1){ + return (char *)memchr(p, *needle, (end-p+1))

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

2008-06-11 Thread Gregory Beaver
Hannes Magnusson wrote: > On Wed, Jun 11, 2008 at 22:15, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: >> Actually, checking through my group@ archive, I don't see 2 messages from >> you. The only one I see from you is one from June 9 complaining that your >> cvs account wasn't granted. I see that so

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Michal Dziemianko
Hello again On Wed, Jun 11, 2008 at 9:47 AM, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > I'm not sure very big haystacks really worth the trouble - how many of them > are used? It may be interesting to see medians instead of averages for that. > But len=1 I think worth having special case. >

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

2008-06-11 Thread Hannes Magnusson
On Wed, Jun 11, 2008 at 22:15, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Actually, checking through my group@ archive, I don't see 2 messages from > you. The only one I see from you is one from June 9 complaining that your > cvs account wasn't granted. I see that someone has approved your accou

RE: [PHP-DEV] CVS Account Request: baptiste750

2008-06-11 Thread Baptiste Autin
Hello, Thank you both. Now I can see that my account has been created. I am saved. Sorry for my paranoid complain ; I do understand that you are crowded with requests and spams of all kind, that's why I didn't give up :) (but I swear I submitted a request twice last month! Once on the 22/05, and

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

2008-06-11 Thread Rasmus Lerdorf
Actually, checking through my group@ archive, I don't see 2 messages from you. The only one I see from you is one from June 9 complaining that your cvs account wasn't granted. I see that someone has approved your account now. -Rasmus Antony Dovgal wrote: On 11.06.2008 22:44, Baptiste Autin

Re: [PHP-DEV] Writing extension: aditional library

2008-06-11 Thread Antony Dovgal
On 11.06.2008 23:50, Adam Klobukowski wrote: Hi I'm writing my custom extension, and I want to use library in it. Atm. I'm just compiling library files statically in extension, but thats not very nice. I've tried to modify config.m4 to include it but even with all other extensions, I misera

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

2008-06-11 Thread Antony Dovgal
On 11.06.2008 22:44, Baptiste Autin wrote: This is my third try to get a CVS account through this webform. I have never got any answer from you. I have also sent 2 emails to [EMAIL PROTECTED] Unfortunately, the only active person in PHP Group at the moment is Rasmus, no wonder you didn't get a

[PHP-DEV] Writing extension: aditional library

2008-06-11 Thread Adam Klobukowski
Hi I'm writing my custom extension, and I want to use library in it. Atm. I'm just compiling library files statically in extension, but thats not very nice. I've tried to modify config.m4 to include it but even with all other extensions, I miserably failed. This library is simple library i

[PHP-DEV] CVS Account Request: baptiste750

2008-06-11 Thread Baptiste Autin
This is my third try to get a CVS account through this webform. I have never got any answer from you. I have also sent 2 emails to [EMAIL PROTECTED] I have never got any answer from you. I need such a CVS account because I am the lead developer of the PEAR package PHP_UML, and I need to publish a

RE: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Texin, Tex
Ok, well then the code needs to use internationalized functions for string upper and lower. Operating on the first character of the string without surrounding context is incorrect. Operating on the string without locale is also incorrect. The string operations should use ICU. Also, ICU uses boye

RE: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Johannes Schlüter
Hi, On Wed, 2008-06-11 at 01:01 -0700, Texin, Tex wrote: > When I looked at the code, I assumed that it wasn't intended for > international use > I'll have to go back and look to give you details, but it doesn't work for > international use or unicode. > It would be ok for 8859-1. That's the d

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Stanislav Malyshev
Hi! Here are some statistics: - average haystack length: 624.2 - average needle length: 1.9 ! -> 63% of needles of length 1 - avg length of haystacks shorter than avg: 41.0 -> 85% of all haystacks - avg length of haystacks longer than avg: 5685.11 I think it would be interesting to see same e

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Michal Dziemianko
Indeed it is not meant to work with UNICODE, but as an optimization for PHP5. I tried a lot of examples in ISO-8859-2, and ISO-8859-10 as these are the most interesting for me - and it worked fine. If it really causes problems while original implementation works than details are appreciated. Micha

Re: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Michal Dziemianko
Hello everybody, I have done small comparison of the 3 algorithms: the original zend_memnstr implementation, KMP, and Boyer-Moore (inefficient, "book" implementation). The first part - real life data. I have collected the data about the parameters passed to ZEND_MEMNSTR (not only while it is calle

RE: [PHP-DEV] Algorithm Optimizations - string search

2008-06-11 Thread Texin, Tex
When I looked at the code, I assumed that it wasn't intended for international use I'll have to go back and look to give you details, but it doesn't work for international use or unicode. It would be ok for 8859-1. > -Original Message- > From: Scott MacVicar [mailto:[EMAIL PROTECTED] >