[Moscow.pm] Производительность объектов.
Andrew Shitov
andy на shitov.ru
Чт Мар 27 07:04:55 PDT 2008
> будет в тему: http://habrahabr.ru/blog/perl/17297.html
На 5.10 расклад сил тот же, но "динамический диапазон" поменьше, низы
и верхи сближаются :-)
Rate h_hash h_forref h_for h_mapref h_map h_list h_direct
h_hash 137871/s -- -36% -44% -44% -52% -76% -90%
h_forref 215190/s 56% -- -13% -13% -25% -62% -84%
h_for 246139/s 79% 14% -- -0% -14% -57% -82%
h_mapref 246704/s 79% 15% 0% -- -14% -56% -82%
h_map 286426/s 108% 33% 16% 16% -- -49% -79%
h_list 567080/s 311% 164% 130% 130% 98% -- -58%
h_direct 1348502/s 878% 527% 448% 447% 371% 138% --
--
Andrew Shitov
______________________________________________________________________
andy на shitov.ru | http://www.shitov.ru
Подробная информация о списке рассылки Moscow-pm