GNOME Bugzilla – Bug 374882
Cache adapters for PORs
Last modified: 2006-11-14 17:03:26 UTC
Output from the DefaultPerk is now noticably less responsive after implementing the complete set of reports for the default UI. This problem doesn't seem to stem from the speech engine but rather from all the processing we're doing in the DefaultPerk. I believe we can get a big performance win by caching adapters for the lifetime of a POR on the POR itself. This will preclude the need for a repeat search through all available adapters for a given POR and can be done invisibly without changes to any of the existing code.
Implemented. Responsiveness of LSR is visibly improved. Fixed immediately noticable bugs concerning new weakrefs to PORs in adapters. Will be on the lookout for more.