I'm currently looking into an extension that would allow both persistent 
variables, as well as persistent functions.  At this point I'm still going 
through the internals to determine the feasibility of such an extension.

I'll keep you posted.

BTW.  If anyone knows what the refcount property of the zend_op_array is 
used for......  please email me.

Medvitz


Yasuo Ohgaki wrote:

> Edin Kadribasic wrote:
>> I'm using sysvshm and sysvsem for this sort of things. It did provide
>> dramatic speed difference with a static array of some 130 KB. However
>> sysvshm extension does not work on win32. I don't know if shmop works on
>> that platform.
>> 
> 
> I know there is sysvshm. But, I don't actually used the module, yet.
> So correct me if I'm wrong.
> 
> I think you are using serialize()/unserialize() to save data, right?
> 
> I would like to get rid of serialize()/unserialize() also. Since,
> I have large web site that has relatively large menu definition as
> array.
> 
> unserialize() needs about  0.4 sec for 1MB serialized data on
> Celeron 466/linux. (It's a array of about 2000 elements)
> 
> Production machine is much faster but it makes a lot slower
> loading data with unserialize() for sure.
> 
>> If you can make portable way of introducing $_PERSISTENT I'm all for it.
>> If not, I have very little to gain over using sysvshm extension directly.
> 
> I might be missing something. Please let me know if I do.
> 
> --
> Yasuo Ohgaki


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to