#106 new
Gaspard Bucher

cache finders created by 'build_finder_for' for reuse

Reported by Gaspard Bucher | September 3rd, 2008 @ 03:05 PM | in 1.0

Originally posted on Trac by gaspard Original Trac Ticket

 Description

This could be a great performance improvement for typical uses like 'table of contents' ... 'content' type of pages.

If two calls to build_finder_for generate the same ruby code, they should share the same variable name :


 -->
...
 --->

To make this work we need to make ruby variable name generation global ('var1', 'var2', 'list1', 'list2') so that we do not overwrite old variable content with new finders.

Trac Attachments

Trac Comments

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins

People watching this ticket

Pages