LiveInternet
LiveInternet
x
(+ )
lj ru php
lj ru php
lj_ru_php
-
e-mail
-
-
(28)
DJ_STIF
Ladi_bi
dA_j0inT
lazyx
x_KSY_AKA_DOLL_x
BetaLux
Chervochka
Haoatarez
HeavyHell
HollyHorizon
KostanIN
Leith
Rock_Feller
Urban
_-__-_
_LexIncorp_
frizzyTAIM
klubb_woozy
madrat
mortuus_revixit
mr_rOOse
slim_rt
__
-
: 07.06.2005
:
:
: 9
:
, 05 2015 . 08:56
+
(, )?
.
. . - int .
array_intersect + array_merge ~0.02 ~10 /
~500
, - ( 100000 ).
PHP. redis (shared )
http://ru-php.livejournal.com/1575130.html
0
0
0
0
0
0
<a href="https://www.liveinternet.ru/users/lj_ru_php/post376010058/">Быстрая работа с массивами или множествами</a><br/>Есть ли какието способы ускорить работу с массивами (пересечение, объединение)?Или может даже реализовать множества.Массивы содержат числа. Т.е может можно как то указать - что это массив типа int чтобы ускорить.сейчас стандартные array_intersect + array_merge дают в среднем ~0.02 с на ~10 операциях объединения/пересеченияразмер массивов ~500 элементовпока хватает и этого, но понятно что с возрастанием кол-ва элементов и операций время будет возрастать (до 100000 хотябы).нужно решение в PHP. знаю что можно поставить redis но нет возможности (shared хостинг) http://ru-php.livejournal.com/15751... <a href="https://www.liveinternet.ru/users/lj_ru_php/post376010058/">Читать далее...</a>
« .
—
—
. »
:
[1] [
]
:
:
: ( )
:
URL
, ,
LiveInternet
PDA