Re: Fwd: How to create Persistent zval?
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)