Unlimited canvas painting program

Tim Chase python.list at tim.thechases.com
Thu Oct 24 18:04:20 EDT 2013


On 2013-10-24 21:51, Grant Edwards wrote:
> > To hold an (effectively) infinite *bitmap* canvas, you'd
> > (effectively) need an (effectively) infinite amount of memory.  
> 
> Sparse arrays allow it to be sort-of implemented as long as most of
> the bitmap is "empty".

Fair enough.  Raw bitmap canvas eats memory like a ravenous dog.  But
a smarter sparse array would certainly ameliorate the problem well.

-tkc





More information about the Python-list mailing list