PROTON-1708 Reduce overhead of reading zero sized values

For types that carry no payload for the value, reduce the call tree by
returing the type directly instead of looking up the encoding and
calling into it for the default value.  This also remove some
auto-boxing that was being done in the readBoolean case for the decoder.
1 file changed
tree: ea0f113febaf84ddab104f0a39066799c60f972f
  1. .gitattributes
  2. .gitignore
  3. .mailmap
  4. .travis.yml
  5. LICENSE
  6. NOTICE
  7. README.md
  8. apache-qpid-proton-j/
  9. appveyor.yml
  10. examples/
  11. pom.xml
  12. proton-j/
  13. tests/
README.md

Apache Qpid Proton-J

Linux Build Status Windows Build Status

Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, client libraries, routers, bridges, proxies, and more.

Please see http://qpid.apache.org/proton for more information.