gustafn
committed
on 30 Dec 21
performance improvements for "::xo::db::Class proc get_instance_from_db"

when the object exists already, the text for existance is made ear… Show more
performance improvements for "::xo::db::Class proc get_instance_from_db"

when the object exists already, the text for existance is made earlier

to void useless operations. This change improves the performance by a factor of 3

when the object was already loaded.

 OLD {4.544836 microseconds per iteration}

 NEW {1.310991 microseconds per iteration}

Show less