Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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:mastergoogleapis/python-bigquery:masterfrom
grooveygr:mastergrooveygr/python-bigquery:masterCopy head branch name to clipboard
Oct 7, 2020
Merged

perf: remove redundant array deepcopy#26
tswast merged 7 commits into
googleapis:mastergoogleapis/python-bigquery:masterfrom
grooveygr:mastergrooveygr/python-bigquery:masterCopy head branch name to clipboard

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.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 6, 2020
@tseaver tseaver changed the title perf(bigquery): remove redundant array deepcopy perf: remove redundant array deepcopy Jul 30, 2020
@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 30, 2020
@yoshi-kokoro yoshi-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 plamut July 30, 2020 18:09
@tseaver

tseaver commented Jul 30, 2020

Copy link
Copy Markdown
Contributor

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

@busunkim96 busunkim96 closed this Jul 31, 2020
@busunkim96 busunkim96 reopened this Jul 31, 2020
@tseaver tseaver added the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 6, 2020
@yoshi-kokoro yoshi-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 team September 24, 2020 21:13
Comment thread tests/unit/test__helpers.py
@tswast tswast added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
Comment thread google/cloud/bigquery/_helpers.py Outdated
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
@tswast tswast added the kokoro:run Add this label to force Kokoro to re-run the tests. label Oct 6, 2020
@yoshi-kokoro yoshi-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:master Oct 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.