Chris,
Great job. The first set of stats, to me, showed that
regardless of reference method, there isn't a "drastic"
performance hit in choosing coding styles.
But your last DB. Why on Earth would something update
that much quicker just because it was invisible? The
magnitude of that difference is very noticable.
In my old VAX days, any sort of I/O device (disk, video,
or whatever) was WAY slower than the CPU. They had two
kinds:
QIO - Send and go on with current code.
QIOW - Send and wait for an acknowledgement
I figured Access was spending the extra time updating
the controls on the Screen. I had the logic as follows:
Access updates the control in memory, which takes
one unit of time.
If the control is invisible, it's done.
Otherwise the amount of time to ship something out to
the video card, display it, (and I think) wait for an
acknowledgement takes 20 units of time.
I went into your Form1 to cut it by half the controls
and the stats stayed consistent.
BUT, during all of that time waiting for the "visible"
update, the display doesn't change! All controls are
updated only at the end of that subroutine. I expected
to see the changed controls snaking their way down the
screen, but no. I even tucked a little Me.Refresh after
a couple of early ones, but no luck.
This isn't what I expected. I'll take a look again in
a little while.
Wayne
Great job. The first set of stats, to me, showed that
regardless of reference method, there isn't a "drastic"
performance hit in choosing coding styles.
But your last DB. Why on Earth would something update
that much quicker just because it was invisible? The
magnitude of that difference is very noticable.
In my old VAX days, any sort of I/O device (disk, video,
or whatever) was WAY slower than the CPU. They had two
kinds:
QIO - Send and go on with current code.
QIOW - Send and wait for an acknowledgement
I figured Access was spending the extra time updating
the controls on the Screen. I had the logic as follows:
Access updates the control in memory, which takes
one unit of time.
If the control is invisible, it's done.
Otherwise the amount of time to ship something out to
the video card, display it, (and I think) wait for an
acknowledgement takes 20 units of time.
I went into your Form1 to cut it by half the controls
and the stats stayed consistent.
BUT, during all of that time waiting for the "visible"
update, the display doesn't change! All controls are
updated only at the end of that subroutine. I expected
to see the changed controls snaking their way down the
screen, but no. I even tucked a little Me.Refresh after
a couple of early ones, but no luck.
This isn't what I expected. I'll take a look again in
a little while.
Wayne