Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(spanner/spansql): make fewer allocations during SQL #2969

Merged
merged 1 commit into from Oct 6, 2020
Merged

perf(spanner/spansql): make fewer allocations during SQL #2969

merged 1 commit into from Oct 6, 2020

Conversation

dsymonds
Copy link
Contributor

@dsymonds dsymonds commented Oct 6, 2020

Set up a parallel set of SQL-encoding methods called addSQL that build
the SQL result into a strings.Builder.

Fixes #2956.

@dsymonds dsymonds added the api: spanner Issues related to the Spanner API. label Oct 6, 2020
@dsymonds dsymonds requested a review from skuruppu October 6, 2020 00:26
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 6, 2020
Set up a parallel set of SQL-encoding methods called addSQL that build
the SQL result into a strings.Builder.

Fixes #2956.
@dsymonds dsymonds added the automerge Merge the pull request once unit tests and other checks pass. label Oct 6, 2020
@gcf-merge-on-green gcf-merge-on-green bot merged commit bd56b2a into googleapis:master Oct 6, 2020
@dsymonds dsymonds deleted the spansql-fewer-allocs branch October 6, 2020 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the Spanner API. automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spanner/spansql: Minimize allocations in SQL()
2 participants