OpenSearch/libs
Armin Braun af2e2782eb
Stop Needlessly Copying Bytes in XContent Parsing (#61447) (#61469)
Wrapping a `BytesArray` in a `StreamInput` for deserialization is inefficient.
This forces Jackson to internally buffer (i.e. copy) all bytes from the `BytesArray`
before deserializing, adding overhead for copying the bytes and managing the buffers.

This commit fixes a number of spots where `BytesArray` is the most common type of
`BytesReference` to special case this type and parse it more efficiently.
Also improves parsing `String`s to use the more efficient direct `String` parsing APIs.
2020-08-24 15:49:15 +02:00
..
cli Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
core Fix Java11 Streams Class Copy (#60641) 2020-08-04 12:11:52 +02:00
dissect Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
geo Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
grok Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
nio Set specific keepalive options by default on supported platforms (#59278) 2020-07-28 11:10:04 +02:00
plugin-classloader Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
secure-sm Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
ssl-config Replace compile configuration usage with api (7.x backport) (#58721) 2020-06-30 15:57:41 +02:00
x-content Stop Needlessly Copying Bytes in XContent Parsing (#61447) (#61469) 2020-08-24 15:49:15 +02:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00