Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 1995 10:32:05 MST
From:      Warner Losh <imp@boulder.openware.com>
To:        "Pedro Cobas, CRI" <PCOBAS%ESOC.BITNET@vm.gmd.de>
Cc:        "oi-users group" <oi-users@freefall.cdrom.com>
Subject:   Re: Rules to speed up the creation of OI objects 
Message-ID:  <199503101732.KAA25495@marvin.boulder.openware.com>
In-Reply-To: Your message of Fri, 10 Mar 1995 12:10:45 %2B0700

next in thread | raw e-mail | index | archive | help
: Based on your expericence which would be the rules to speed up the
: creation of OI objects ?.

Here are a couple that spring to mind that would apply to your current
situation:
	Don't map a window (set its state to be OI_active) until all
	its children have been parented to it.

	If you are going to add a bunch of objects to another object
	with layout, do a suspend_layout() create and add the objects
	then a resume_layout().

	Run your programs on a machine that has enough real memory :-)

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503101732.KAA25495>