https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27880

--- Comment #13 from David Cook <[email protected]> ---
I think Koha::Migrations->pending_migrations is actually a significant win for
these patches.

It gets a big hashref of all past migrations, and then it checks in O(1) time
whether a file has already been used. 

So we only have 1 database hit, and we have an efficient check per file.

Of course, the time it takes to check for pending migrations will degrade over
time as the list of migration files grows. But that's a problem that we already
have.

So we'd still have a net win by moving to this mechanism.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to