hi...
i implemented and shortly benchmarked a binary serializer (which means
serializing and unserializing php-variables into a binary
representation). At the moment it is written as an extension, but
perhaps it is interesting to let it become a standard-extension or part
of ext/standard (var.c) and ext/session (to avoid registering the
serialize_handler at runtime). Here is the url to the extension:
http://fum.no-ip.com/php/fbinary/
There are some additional informations about it and also the benchmarks.
Hopefully it is interesting for anybody...
Bernd Roemer
Hello Bernd,
just commit it to pecl after applying for pecl. If it turns out to
be helpful the RM might want to symlink it as a default extension
into next release.
regards
marcus
Sunday, July 18, 2004, 6:16:42 PM, you wrote:
hi...
i implemented and shortly benchmarked a binary serializer (which means
serializing and unserializing php-variables into a binary
representation). At the moment it is written as an extension, but
perhaps it is interesting to let it become a standard-extension or part
of ext/standard (var.c) and ext/session (to avoid registering the
serialize_handler at runtime). Here is the url to the extension:
There are some additional informations about it and also the benchmarks.
Hopefully it is interesting for anybody...
Bernd Roemer
--
Best regards,
Marcus mailto:helly@php.net
Hi Bernd,
It seems you are using zend_dynamic_array() which is something I wrote a
long time ago and never got to completely testing it. Seems to me that
there's a problem there with the erealloc() call. It could relocate the
data storage and, therefore, all of your pointers to that storage might end
up being wrong.
Can you explain exactly what kind of data structure you require? I am
planning on working on a static allocator (not stack) soon and I'm just
wondering if that would suit your needs or not.
Thanks,
Andi
At 06:16 PM 7/18/2004 +0200, Bernd Römer wrote:
hi...
i implemented and shortly benchmarked a binary serializer (which means
serializing and unserializing php-variables into a binary representation).
At the moment it is written as an extension, but perhaps it is interesting
to let it become a standard-extension or part of ext/standard (var.c) and
ext/session (to avoid registering the serialize_handler at runtime). Here
is the url to the extension:http://fum.no-ip.com/php/fbinary/
There are some additional informations about it and also the benchmarks.
Hopefully it is interesting for anybody...Bernd Roemer