flatbuffers/php
Armen Baghumian f622e5996c Optimize get* operation
It's slightly faster to convert the value to signed value in PHP as
opposed to use pack and unpack.

For 1M get operation the difference is:

    getShort in 3.3272678852081 seconds
    getInt in 3.8338589668274 seconds
    getLong in 5.6381590366364 seconds
    getLong (neg) in 5.6149101257324 seconds

vs

    getShort in 2.7564418315887 seconds
    getInt in 3.1612701416016 seconds
    getLong in 3.1369340419769 seconds
    getLong (neg) in 3.1478710174561 seconds

And since pack("P") and unpack("q") has been removed now ByteBuffer
works for PHP >= 5.4
2015-12-05 23:32:35 +00:00
..
ByteBuffer.php Optimize get* operation 2015-12-05 23:32:35 +00:00
Constants.php (PHP) add experimental support for PHP language. 2015-11-18 00:26:39 +09:00
FlatbufferBuilder.php (PHP) add experimental support for PHP language. 2015-11-18 00:26:39 +09:00
Struct.php (PHP) add experimental support for PHP language. 2015-11-18 00:26:39 +09:00
Table.php (PHP) add experimental support for PHP language. 2015-11-18 00:26:39 +09:00