Ticket #2 (closed enhancement: fixed)

Opened 14 years ago

Last modified 14 years ago

Implement log size caching

Reported by: jon Owned by: jon
Priority: critical Milestone: 1.1
Component: SortByLogSizePlugin Version: 1.0
Keywords: Cc:


Performance is unacceptably slow for large contact lists with lots of chat transcripts. Implement some means of caching log file sizes to avoid a lookup on every comparison.

Change History

Changed 14 years ago by jon

  • status changed from new to closed
  • resolution set to fixed

Done in [19].

The basic approach is to lazily cache log file sizes on a per-contact basis and invalidate individual cache entries when content is sent/received. A more graceful approach would be to actually compute the log size change when content is added, but that requires more intimate integration with AILoggerPlugin than I think is wise.

Note: See TracTickets for help on using tickets.