Browse Prior Art Database

Cashing of Windows

IP.com Disclosure Number: IPCOM000112544D
Original Publication Date: 1994-May-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 45K

Publishing Venue

IBM

Related People

Harding, SS: AUTHOR [+4]

Abstract

Application enabler programs that permit user definition and creation of window-based application programs can realize performance improvements by caching the windows at runtime.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 69% of the total text.

Cashing of Windows

      Application enabler programs that permit user definition and
creation of window-based application programs can realize performance
improvements by caching the windows at runtime.

      For example, OS/2* Presentation Manager* (PM) programs which
use many pre-defined windows to obtain user input and to display
results to users may be called on to repeatedly create and destroy
these windows.  Performance studies have shown that system calls to
create complex windows with many fields take a significant amount of
time.

      Application enabler programs typically use, delete, and reuse
pre-defined windows.  Window creation occurs when a window is used
and subsequently each time it is reused.  Each time a performance
cost is incurred.

      To improve performance, at deletion time the frame window
handle can be placed in a main memory cache along with pointers to
definition data needed for re-initializing the size, location, and
appearance of the window.  Cached windows are then made invisible by
turning off an indicator for the frame, such as the WS_VISIBLE style
in OS/2 PM.

      At reuse time, a check is made of the window size, location,
and any other properties which may have been changed by the user
during the time it was in use.  If any of these have changed, the
definition data held in the cache is used to restore the window
properties to their 'as defined' state.  Then the indicator (e.g.,
WS_VISIBLE style) is resto...