|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] the test test - a more detailed analysis of image contents |
Date: | Tue, 21 Jul 2009 00:11:56 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/20/2009 11:04 PM, nicolas petton wrote:
Hi, I just committed ActionRegistry. It's still young code, but so far it works nicely. An ActionRegistry is now responsible for holding all actions related to its owner. This way widgets release all their obsolete actions each time they are rebuilt. For each normal request, all registries are also cleaned up. This way there shouldn't be obsolete actions which blocks keep references to Iliad elements. I ran some tests with the blog and counter examples, and the difference is impressive.
I would still use a Dictionary there (the online tester has ~300 actions active at the same time, IIUC, out of ~700 created through the entire navigation).
Nice though! Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |