commit | 391af064e2d50dfd29700f160166e86d8f4cba19 | [log] [tgz] |
---|---|---|
author | Timothy Bish <tabish121@gmail.com> | Tue Nov 13 14:53:13 2018 -0500 |
committer | Timothy Bish <tabish121@gmail.com> | Tue Nov 13 14:53:13 2018 -0500 |
tree | 45deab31a66fe9c5f4596318ce505ebb15b25a55 | |
parent | a9988721e544ed75150441adc26a9a2dbabebab9 [diff] |
PROTON-1963 Refactor string encoding size calculation Assume ASCII by default when calculating the string size in UTF8 to allow for inlining of this method in most cases and fallback to a multi-byte calculation only when non-ASCII chars are detected.
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.