Performance improvement to generated+supporting PHP (#5080)
authorPeter Dillinger <peterd@fb.com>
Fri, 21 Dec 2018 00:10:20 +0000 (16:10 -0800)
committerWouter van Oortmerssen <aardappel@gmail.com>
Fri, 21 Dec 2018 00:10:20 +0000 (16:10 -0800)
commit87704e987eb51dbd9852d7cae4e8013d47ad6eef
treed45d68e1ced3303b5ac6659007c062755b862487
parentcb99116aca03722ffdd7c7ddf1741886db32a7fc
Performance improvement to generated+supporting PHP (#5080)

By avoiding redundant alignment+alloc checks (startVector does prep) and virtual calls
(by making the class final) in inner loops.
php/FlatbufferBuilder.php
src/idl_gen_php.cpp
tests/MyGame/Example/Monster.php
tests/MyGame/Example/TypeAliases.php
tests/union_vector/Movie.php