Skip to content

Conversation

@mistercrunch
Copy link
Contributor

@mistercrunch mistercrunch commented Apr 2, 2025

Optimizing a method to try and address the issue described here -> #665

A bit of a shot in the dark, but this optimization should help significantly. Unclear if it will address the memory-related issue, would have to dig deeper in the call stack to understand what it does.

I have to admit I don't actually understand what the code does, so this optimization is purely theoretical.

@sloria
Copy link
Member

sloria commented Apr 5, 2025

thank you! would you mind checking the mypy errors?

@mistercrunch mistercrunch force-pushed the optimize__maybe_filter_foreign_keys branch from 0401d05 to 547f5ba Compare April 7, 2025 20:27
@mistercrunch
Copy link
Contributor Author

Oh, didn't notice pre-commit was set up here, should be good now. 🤞 🤞

@sloria sloria enabled auto-merge (squash) April 9, 2025 23:30
@sloria sloria merged commit 82d2c13 into marshmallow-code:dev Apr 9, 2025
11 checks passed
@mistercrunch
Copy link
Contributor Author

Nice, will try to see if this fixed our CI issues when the next version is out, presumable 4.1.2- skipping over 4.1.1 - could probably test now but would have to mess around with referencing the dev branch in the repo and can wait as we're fine on 4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants