[haiku-commits] Re: r34373 - haiku/trunk/src/kits/interface

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 Nov 2009 14:32:36 +0100

On 2009-11-30 at 13:50:59 [+0100], Stefano Ceccherini 
<stefano.ceccherini@xxxxxxxxx> wrote:
> 2009/11/30  <ingo_weinhold@xxxxxx>:
> > Author: bonefish
> > Date: 2009-11-30 13:47:59 +0100 (Mon, 30 Nov 2009)
> > New Revision: 34373
> > Changeset: http://dev.haiku-os.org/changeset/34373/haiku
> >
> > Modified:
> >   haiku/trunk/src/kits/interface/PrivateScreen.cpp
> > Log:
> > Turned the screens list into a singleton.
> 
> Just out of curiosity, is there a particular reason you're doing that ?

Yep. There's quite a bit of static libbe initialization going on, which is 
wasted time for programs that don't use the respective features. Like the 
build tools that link against libbe. That won't cut the build times 
dramatically, but it's easily done at least.

CU, Ingo

Other related posts: