https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32060
--- Comment #17 from David Gustafsson <[email protected]> --- Added caching for GetFrameworkCode and now using that instead. Also saw that strings_map had the same issues as columns_to_str since they share some code, so applied the same changes there. Removed get_column and will create another bug for making columns methods as fast. Also removed: my $columns_info = $self->_result->result_source->columns_info; for my $column ( keys %$columns_info ) { and replaced by: for my $column ( @{$self->_columns}) { in columns_to_str and strings_map. Not much of a difference in terms of speed, but both confusing and unnecessary to fetch the whole info when you just need the column names. -- 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/
