menu_get_item() can be optimized a little in the case where the item is in the cache (as a side note - wth are we using the cache system for this?).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 964822-opt-menu-get-item-1.patch | 972 bytes | pwolanin |
menu_get_item() can be optimized a little in the case where the item is in the cache (as a side note - wth are we using the cache system for this?).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 964822-opt-menu-get-item-1.patch | 972 bytes | pwolanin |
Comments
Comment #1
sunBackground: #643984: Cache menu_get_item()
(Don't look at me.)
Comment #2
pwolanin commentedjust moves 2 lines inside the conditional.
Comment #3
sunheh. Only with this patch, the db cache starts to make sense. :)
Comment #4
dries commentedCommitted to CVS HEAD. Thanks.