Re: [PHP-DEV] I think that Function naming inconsistency bug deservers more attention

2013-01-26 Thread Никита
I think register_primitive_type_handler() is too exclusive: Hi Thomas, as @nikic noted in the description, it's just a proof of concept. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Ruby's symbols

2013-01-05 Thread Никита Нефедов
On Sat, Jan 5, 2013 at 6:58 PM, Nikita Nefedov inefe...@gmail.com wrote: ** Though there would be a little speed-up because with Symbols array's Buckets will keep numeric key, so instead of memcmp you will need to just compare two longs when retrieving element. Before memcmping the

Re: [PHP-DEV] DateTime improvement

2012-12-16 Thread Никита
I have actually started too, but I made it w/o inheritance from DateTime, and I made many of inline functions to avoid code repetition, so I don't know how good is it. The code on my work computer, so I can show it tomorrow. Derick Rethans der...@php.net писал(а) в своём письме Sun, 16 Dec

Re: [PHP-DEV] DateTime improvement

2012-12-11 Thread Никита
Stas Malyshev smalys...@sugarcrm.com писал(а) в своём письме Tue, 11 Dec 2012 21:06:05 +0400: Hi! As Nikita says, from an ORM perspective, an object is always immutable (at least with current implementations I know of), and that's because they can simply use the object hashes to identify