Changes between Initial Version and Version 1 of Ticket #25892
- Timestamp:
- Dec 8, 2015, 8:45:02 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25892
- Property Status new → assigned
-
Ticket #25892 – Description
initial v1 1 The database_backwards of SeparateDatabaseAndState runs at O(n^2 ) where n is the number of database_operations. For each operation, it regenerates the state up to it from the first operation. Instead, we could cache all the intermediate states, similar to the implementation of _migrate_all_backwards in the migration executor (or migrate in django 1.8.x).1 The database_backwards of SeparateDatabaseAndState runs at O(n^2^) where n is the number of database_operations. For each operation, it regenerates the state up to it from the first operation. Instead, we could cache all the intermediate states, similar to the implementation of _migrate_all_backwards in the migration executor (or migrate in django 1.8.x).