[Rt-devel] [PATCH] _EnumLimit loads one object on each call that can be avoided

Jesse Vincent jesse at bestpractical.com
Wed Jan 18 09:31:50 EST 2006




On Wed, Jan 18, 2006 at 07:25:00AM +0300, Ruslan Zakirov wrote:
> subj, changes inlined
> 
> --
> Best regards, Ruslan.

> changes:
> * in _EnumLimit load referenced object only if value
>   is defined and is not number, this could safe several
>   fetches from caches or in worst case from DB
> * use this advantage in Quicksearch element,
>   change in load time should be noticable on the systems
>   with many queues


Thanks! Please apply to 3.4, Ruslan.

Jesse


More information about the Rt-devel mailing list