Skip to content

Commit 6b83871

Browse files
authored
perf(spanner): reduce autoboxing when reading data (#12741)
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 6b83871

File tree

3 files changed

+228
-150
lines changed

3 files changed

+228
-150
lines changed

0 commit comments

Comments
 (0)