[Koha-bugs] [Bug 8559] conflicting item statuses

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 4 13:09:14 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8559

--- Comment #15 from Kyle M Hall <kyle at bywatersolutions.com> ---
> 
> hmm, no
> 
> those 'plently of subroutines' are passing *hashrefs*, not hashes
> so, if you want to pass a hash, pass a hashref instead
> 
> why? its faster and uses less memory :)
> 
> 
> "Use references
> 
> If you work with large arrays or hashes and use them as arguments to
> functions, use a reference instead of the variable directly. By using a
> reference, you tell the function to point to the information. Without a
> reference, you copy the entire array or hash onto the function call stack,
> and then copy it again in the function. References also save memory (which
> reduces footprint and management overheads) and simplify your programming."
> 
> http://www.ibm.com/developerworks/library/l-optperl/index.html

Point taken : )=
I'll post a followup to switch it to a hashref then!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list