diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-09-04 10:54:47 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2019-09-04 10:54:47 -0700 |
commit | ca4605b3af559d0600e8102dd4255d4a6261720c (patch) | |
tree | 0da7942d99ad9743bffa4d30ed60f810ee3de5a8 /upb/handlers-inl.h | |
parent | 2c869197700f5fd120dfbbb958ea460bc0dd4fef (diff) |
Properly cache decoder methods, instead of regenerating every time.
This doesn't fully share bytecode. If you generate for message A
which has B as a sub-message, then generate B, B's code will be
generated twice. This could be optimized later if desired. But
this addresses the leak in PHP.
Also removed some obsolete JIT-only code.
Diffstat (limited to 'upb/handlers-inl.h')
0 files changed, 0 insertions, 0 deletions