Re: Fwd: How to create Persistent zval?

From: Date: Mon, 20 Jan 2014 17:16:50 +0000
Subject: Re: Fwd: How to create Persistent zval?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Tue, 2014-01-21 at 01:03 +0800, Lin Yo-An wrote:


> What I want to achieve is to put a router object in a persistent
> memory. ( see https://github.com/c9s/Pux/issues/18 )

> Currently I tried to deeply copy the hash table of array property into
> the persistent memory.  

I haven't really looked deep into this, but it seems that some form of
graph implemented in C might be a better data structure to hold it, then
have some C function using that when handling a route ... dumping the
routes sees like a debug function which therefore an be a bit more
expensive ...

johannes




Thread (14 messages)

« previous php.internals (#71329) next »