Commit d612ce4
committed
perf(spanner): reduce autoboxing when reading data
AbstractStructReader and Struct contained multiple method definitions and calls that
would trigger unnecessary object creation and auto-boxing on the happy path. This
change removes those, sometimes at the expense of some duplicate code. This however
reduces the number of object creations for the happy flow, which is by far the most
used code path.1 parent 26fb4c6 commit d612ce4
File tree
3 files changed
+228
-150
lines changed- java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner
3 files changed
+228
-150
lines changed
0 commit comments