Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
If I use DwtFetchWidget to fetch multiple instance of the same widget, is it copied in memory, or is there a file access involved each time? Jeff.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1406.1 | Depends... | LEOVAX::TREGGIARI | Mon Sep 11 1989 09:17 | 7 | |
It depends. DRM uses 8 4K buffers in which it retains records that it has read. If the record containing the widget definition is still in one of those buffers, there will be no file access. If the buffer has been re-used, then there will be. Leo | |||||
1406.2 | NEARLY::GOODENOUGH | Mon Sep 11 1989 10:24 | 11 | ||
I assumed there must be some buffering, but it still takes tens of seconds to fetch and load data for ten instances of a widget which controls 4 push buttons (2 are pixmaps) and a label. From a PCA run I did, the time appears to be spent in a routine which does the Fetch and also an XtSetValues for the top attachment. The creation callback time (6 per instance) and time spent loading the button/label values appear to be trivial. That's why I thought the Fetch must be the culprit. Thanks, Jeff. |