]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#2041364 - Switch to hash lookups instead of arrays.
authorJosh Stompro <stomproj@larl.org>
Mon, 30 Oct 2023 19:57:48 +0000 (14:57 -0500)
committerJane Sandberg <js7389@princeton.edu>
Sat, 11 Nov 2023 23:22:46 +0000 (15:22 -0800)
commitddc9d378e108f7249917a5844e9a5c1420f2ffce
treecc600a79ce9cb0186d2ed2fb0824beb01719ed31
parent11a4c120352bc63642edcee003b3d2816ea074db
LP#2041364 - Switch to hash lookups instead of arrays.

Switched the lookups for orgs, shelves, affixes and statuses from arrays
to hashes, so grep calls are not needed.

This performs much faster in my testing, removing about a minute from
my 10 minute run time.

Also includes setting up a prepared statement for acp query.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/support-scripts/marc_export.in