-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds an extra line of code to tests that directly access DatabaseStateCache. We also store one or two engine instances in DatabaseVerifier (which we reuse in DatabaseStateCache and, as a next step, in AlembicManager). Creating an engine is expensive and wasteful, so this, I think, is a reasonable tradeoff between complexity and efficiency.
- Loading branch information
Showing
2 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters