Picon: Simpler "cache"
authorMike Looijmans <milo-software@users.sourceforge.net>
Sun, 12 Dec 2010 13:39:44 +0000 (14:39 +0100)
committerMike Looijmans <milo-software@users.sourceforge.net>
Sun, 12 Dec 2010 13:39:44 +0000 (14:39 +0100)
commit1f5889ae697883d700054744a8b2a667d3d6bc8f
tree19346b8beca47dcea7134cf285ad8d6c19bbde0e
parent84cb4927fe9ae3d1e65ce4becf7e26189b6f169a
Picon: Simpler "cache"

Storing every Picon ever encountered into a dict seems rather a waste
of memory, and has no noticable effect.
Simply remember the last "hit", that should also prevent waking up the
harddisk if most picons are elsewhere.
lib/python/Components/Renderer/Picon.py