Re: [PATCH] Suggestion on how to deal with obsolete data resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/2009 08:50 PM, Sven Neumann wrote:
> Hi,
>
> On Tue, 2009-08-11 at 20:45 +0200, Martin Nordholts wrote:
>
>> It has already been concluded that we want to get rid of a few data
>> resources for GIMP 2.8 and also that this requires a mechanism to
>> support backwards compatibility for scripts that uses the
>> soon-to-be-removed resources.
>
> It's certainly a possible solution. But it means that the obsolete data
> resources are still loaded, taking up memory and slowing down start-up.
> I wonder if we could instead create brushes such as "Circle Fuzzy (11)"
> on the fly. Shouldn't be too hard to make up some code that maps
> obsolete brush names to parameters for generated brushes. Then we could
> really remove most of the obsolete brushes.

That's a nice idea, but it is slightly more messy for non-parametric 
resources. Since we are going to obsolete non-parametric resources too 
I'll commit my patch soonish. Lazy loading of resources would be nice of 
course, but it is more important to get 2.8 out.

  / Martin

-- 

My GIMP Blog:
http://www.chromecode.com/
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux