- changed status to resolved
optimize flush() and/or locate_dirty() and/or autoflush behavior
Issue #816
resolved
looks like now that we have autoflush=True, flushes on every query are expensive, and complaints are coming in. the locate_dirty() call is pretty expensive and we should figure out a way to not need its normal behavior on every hit.
we probably want to keep a log of all mappers which include "mutable" objects and localize the is_modifed() call to just those objects...in all other cases, we can just hit "modified" flags directly on instances.
Comments (2)
-
reporter -
reporter - removed milestone
Removing milestone: 0.4.0 (automated comment)
- Log in to comment
OK, it was just some inlines, not sure how much else we could do with this one...7fac6542c5b6501ef23e8b79d50cc748de573d81.