Koha-clms/Koha/UI
Joonas Kylmälä b2a66cd307 Bug 31455: (QA follow-up) Make table creation O(N)
We can insert the indices before the main loop to a hash,
this way we don't have to look up during each loop iteration
the index from an array which in the worst case might take O(N)
thus making the total time complexity O(N^2).

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 223d9d3a99)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2022-09-16 15:21:55 +00:00
..
Form/Builder Bug 31179: (QA follow-up) POD fix 2022-08-12 14:29:48 +00:00
Table/Builder Bug 31455: (QA follow-up) Make table creation O(N) 2022-09-16 15:21:55 +00:00