Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

perf: remove redundant array deepcopy - #26

Merged
tswast merged 7 commits into
googleapis:masterfrom
grooveygr:master
Oct 7, 2020
Merged

perf: remove redundant array deepcopy#26
tswast merged 7 commits into
googleapis:masterfrom
grooveygr:master

Conversation

@grooveygr

Copy link
Copy Markdown
Contributor

Deepcopy can be a very costly operation when considering large arrays with complex nested objects.
Refactor helpers to allow recursive conversion without copying arrays.

Fixes#6 🦕

deepcopy can be a very costly operation when considering large arrays with complex nested objects.
refactor helpers to allow recursive conversion without copying arrays.
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 6, 2020
@tseavertseaver changed the title perf(bigquery): remove redundant array deepcopyperf: remove redundant array deepcopyJul 30, 2020
@tseavertseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 30, 2020
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 30, 2020
@tseaver
tseaver requested a review from plamutJuly 30, 2020 18:09
@tseaver

Copy link
Copy Markdown
Contributor

@plamut I'm less familiar than you with this bit of the code. PTAL.

@tseavertseaver added the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 6, 2020
@yoshi-kokoroyoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 6, 2020
@tswast
tswast requested a review from a teamSeptember 24, 2020 21:13
Comment threadtests/unit/test__helpers.py
@tswasttswast added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
Comment threadgoogle/cloud/bigquery/_helpers.py Outdated
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
@yoshi-kokoroyoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
@tswasttswast added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
@yoshi-kokoroyoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
@tswast
tswast merged commit b54f867 into googleapis:masterOct 7, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BigQuery: complex repeated schema fields are slow

6 participants

@grooveygr@tseaver@tswast@busunkim96@googlebot@yoshi-kokoro