Skip to main content

ImageCache - 1.0.0

An in-memory cache and a database cache.


Gummbum
(gummbum)
Got too many transformations on the fly, and they are eating up your CPU? Put them in a memory cache, with aging and memory tracking/limiting.

Got more images than time? Put them in a sqlite database.

A handy way to:

  • manage memory used by images
  • reuse expensive translations and composites
  • save and load an entire cache for reuse

Check out a real use-case: VROOM41, updated after Pyweek 19 closed. The game does many real-time transformations. Those who judged the competition may remember how sluggish it was toward the end. The cache helps quite a lot. Use the download repo link (39 MB) and look in the pyweek-19 directory.

Changes

Links

Home Page
https://bitbucket.org/gummbum/gummworld2
Source
https://bitbucket.org/gummbum/gummworld2/downloads/image_cache-1.0.0.zip

Releases

ImageCache 1.0.0 — 15 Feb, 2015

Pygame.org account Comments