Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] StringMatcher API (Was: Ant View rework)

The memory cost of multiple copies of the class isn't relevant (sorry, Jed); 
the real problem here is the duplication of code and the maintenance costs 
that come with it. The reason this sort of functionality should be provided 
by Eclipse (in the core) is the "Once and only once" argument.

- Jared

On Wednesday 27 November 2002 02:04 pm, John Arthorne wrote:
> To put this in context, there are 22MB of class files (compressed) in the
> Eclipse SDK.  All copies of StringMatcher combined are 42KB, roughly 0.2%
> of the code base.  The copies of Assert are 13K combined.  Yes, there is
> some duplicated code.  No, this won't save serious memory.
>
> Jed Anderson wrote:
> > If the core team made these classes available to the general public (made
> > them API) we (Eclipse as a whole) could save on some serious memory.
> > Having 9,10, or 11 copies of some classes is ludicrous.  Perhaps the PMC
> > would agree to allowing the core team to mark the classes as "API, to be
> > deleted" so that in the future the core team could delete them without
> > backlash.  Just an idea...
>
> _______________________________________________
> platform-ant-dev mailing list
> platform-ant-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-ant-dev



Back to the top