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

use with_entities to pull only cond and counterbalance #563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yang-yangfeng
Copy link

@yang-yangfeng yang-yangfeng commented Jul 3, 2024

surprised no one has run into this issue before - my task app was using ridiculous amounts of memory from querying participants just to assign cond/counterbalance

I guess others probably save smaller/simpler/more efficiently coded datastrings or collect data from fewer participants for each codeversion

using .with_entities to just grab the cond and counterbalance columns seems more efficient

@jacob-lee
Copy link
Collaborator

jacob-lee commented Jul 3, 2024

Seems like a reasonable improvement (particularly because all that potentially heavy task data gets stored in that one datastring column).

Too bad there is no-one managing this project anymore to accept the pull-request.

@gureckis
Copy link
Member

gureckis commented Jul 4, 2024

Seems like a reasonable improvement (particularly because all that potentially heavy task data gets stored in that one datastring column).

Too bad there is no-one managing this project anymore to accept the pull-request.

I added you to the repo in a way that should allow merging PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants