Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Antony Dovgal
On 16.06.2008 14:28, Pierre Joye wrote: My only wish is to actually respect the informal decision we took a while back, to do not use fast, improved, better or similar wording in function or extension names. What's about naming it CArray or something similar? To reflect what it is, it is not a

Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Alexey Zakhlestin
On 6/18/08, Antony Dovgal [EMAIL PROTECTED] wrote: Though I'd like to be able to cast these arrays to PHP's arrays and we need to implement get_properties() handler for that. If there are no objections, I'll commit my patch when I get back home (30th of June). 2-way conversion would be

Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Antony Dovgal
On 18.06.2008 16:40, Alexey Zakhlestin wrote: On 6/18/08, Antony Dovgal [EMAIL PROTECTED] wrote: Though I'd like to be able to cast these arrays to PHP's arrays and we need to implement get_properties() handler for that. If there are no objections, I'll commit my patch when I get back home

Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Alexey Zakhlestin
On 6/18/08, Antony Dovgal [EMAIL PROTECTED] wrote: 2-way conversion would be perfect ;) There is no way to cast an array to an object of certain class, but it should not be a problem to add a function to convert array to fastarray. Want to make a patch yourself? Should be pretty easy

Re: [PHP-DEV] FastArray, great addition

2008-06-18 Thread Etienne Kneuss
Hello, On Wed, Jun 18, 2008 at 4:47 PM, Antony Dovgal [EMAIL PROTECTED] wrote: On 18.06.2008 16:40, Alexey Zakhlestin wrote: On 6/18/08, Antony Dovgal [EMAIL PROTECTED] wrote: Though I'd like to be able to cast these arrays to PHP's arrays and we need to implement get_properties() handler

[PHP-DEV] FastArray, great addition

2008-06-16 Thread Pierre Joye
hi all, As you noticed already PHP finally got simple C-like array, thanks to Etienne and Tony for their great work! My only wish is to actually respect the informal decision we took a while back, to do not use fast, improved, better or similar wording in function or extension names. What's

Re: [PHP-DEV] FastArray, great addition

2008-06-16 Thread Alexey Zakhlestin
On 6/16/08, Pierre Joye [EMAIL PROTECTED] wrote: hi all, As you noticed already PHP finally got simple C-like array, thanks to Etienne and Tony for their great work! My only wish is to actually respect the informal decision we took a while back, to do not use fast, improved, better or

Re: [PHP-DEV] FastArray, great addition

2008-06-16 Thread Lukas Kahwe Smith
On 16.06.2008, at 13:27, Alexey Zakhlestin wrote: On 6/16/08, Pierre Joye [EMAIL PROTECTED] wrote: hi all, As you noticed already PHP finally got simple C-like array, thanks to Etienne and Tony for their great work! My only wish is to actually respect the informal decision we took a while

Re: [PHP-DEV] FastArray, great addition

2008-06-16 Thread Alexey Zakhlestin
On 6/16/08, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: so the next tweak will lead to EvenFasterArray? I can't imagine anything faster (current FastArray can be optimized to use SIMD, if needed — that would just be implementation detail) well.. the proper name, for current FastArray would be