/[Apache-SVN]
ViewVC logotype

Revision 665548


Jump to revision: Previous Next
Author: dweatherford
Date: Tue Mar 4 01:08:23 2008 UTC (16 years, 8 months ago)
Changed paths: 11
Log Message:
[thrift] PHP thrift_protocol extension, revision 2.0

Summary:
  All PHP serialization and deserialization can now happen in extension-land,
  which should be much faster. This includes reading message headers and all
  complex types (structs, exceptions, whatever).

  The compiler has been updated to always emit the $_TSPEC static array for
  generated PHP code, since the new extension depends on it.

  As before, the PHP code gates enabling the accelerated serialization on
  the protocol being an instance of TBinaryProtocolAcclerated and the function
  for the [de]serialization operation existing.

  The function names have changed since the last version of the extension,
  so old and new generated code can coexist, and new generated code can run on
  a server with the old extension (but it will not use accelerated serialization).

Reviewed by: hzhao
Test Plan: Generated a couple of endpoints and called their services through the
  new extension. Both use a variety of nested complex types. Built and ran the
  extension in php-5.2.3 in debug mode, killed the reported memory leaks.


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_php_generator.cc modified , text changed
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/config.m4
(Copied from incubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/config.m4, r665547)
added , text changed
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp added
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/php_thrift_protocol.h added
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/config.m4 deleted
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.cpp deleted
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/tags/1.0.0/php_thrift_protocol.h deleted
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/trunk/config.m4 deleted
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/trunk/php_thrift_protocol.cpp deleted
Directoryincubator/thrift/trunk/lib/php/src/ext/thrift_protocol/trunk/php_thrift_protocol.h deleted
Directoryincubator/thrift/trunk/lib/php/src/protocol/TBinaryProtocol.php modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26