[PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard php_smart_str.h

2006-05-03 Thread Ilia Alshanetsky
iliaa Wed May 3 13:32:10 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard php_smart_str.h Log: Revert previous optimization if preparation for 5.1.4

[PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard php_smart_str.h

2006-05-02 Thread Ilia Alshanetsky
iliaa Tue May 2 13:52:25 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard php_smart_str.h Log: Attempt to increase smart_str performance through the use of larger default buffers. Biased micro benchmarks show it makes sense :P

Re: [PHP-CVS] cvs: php-src(PHP_5_1) /ext/standard php_smart_str.h

2006-05-02 Thread Andi Gutmans
Does smart_str realloc at the end? If not, then this patch can lead to much higher memory use. From our tests we found 5.1 to use more memory and this was part of the reason for some slowdown. Even if a micro benchmark can show this to be faster, for real world apps and the various CPUs we are