[Dextrose] [PATCH Paint Activity v3] Added Invert Color Effect to Paint Activity (OLPC #2495)

David Farning dfarning at gmail.com
Wed Oct 20 19:52:19 EDT 2010


On Wed, Oct 20, 2010 at 6:21 PM, Bernie Innocenti <bernie at codewiz.org> wrote:
> On Wed, 2010-10-20 at 19:59 +0530, Ayush Goyal wrote:
>> @@ -69,10 +69,12 @@ import os
>>  import tempfile
>>  import math
>>  import pango
>> +import numpy
>
> Does Paint already use numpy elsewhere?
>
> If not, we should try to avoid this dependency, as numpy takes several
> seconds to load on the XO-1 and also wastes a lot of memory.

For a bit of context.... Sugar is designed to run on low end hardware
to keep hardware costs down while extending battery life.

There is often a trade off between adding functionality and increasing
time and/or space footprint.  Thus, anything which increases
footprint, 'the cost', must be justified by improving functionality,
'the benefit'.

david


More information about the Dextrose mailing list