5.5
38.2
32.7
[20,20]
5.5
33.3
27.8
[15,15]
Table 2 shows the time required to access a matrix element when the indices are local variables, for
example, matrix[m1,m2]. The data shows that it takes slightly longer to access an element with
variable indices, but the overhead for indirect access is about the same, at a mean of 5.8 mS.
Table 2
Matrix element access time, variable indices
6.0
40.2
34.2
[20,20]
5.8
35.3
29.5
[15,15]
6.0
30.2
24.2
[10,10]
5.7
25.2
19.5
[5,5]
5.8
21.3
15.5
[1,1]
20 rows, 20 columns
5.6
26.2
20.6
[10,10]
5.8
23.7
17.9
[5,5]
5.7
21.2
15.5
[1,1]
10 rows, 10 columns
Reference method
overhead
Tar - Tav
Access time Tar,
reference method
(mS)
Access time Tav,
value method
(mS)
Element
accessed
Matrix dimensions
Table 3 shows the mean time required to access each element of matrices of various sizes. Element
indices are local variables, and the elements were accessed by value, for example, matrix[m1,m2].
Table 3
Mean matrix element access time, direct access
27.4
5
85
24.9
40
10
35.4
10
80
22.6
30
10
26.0
5
75
20.3
20
10
32.9
10
70
18.2
10
10
25.0
5
65
32.4
155
5
30.3
10
60
31.3
145
5
23.6
5
55
30.1
135
5
27.7
10
50
28.9
125
5
21.9
5
45
27.9
115
5
34.0
20
40
27.0
105
5
25.2
10
40
25.9
95
5
21.2
5
35
25.0
85
5
30.0
20
30
23.6
75
5
23.8
10
30
22.5
65
5
19.1
5
25
21.4
55
5
29.3
30
20
20.9
45
5
25.5
20
20
19.7
35
5
21.5
10
20
18.9
25
5
Mean access time,
single element (mS)
Matrix
columns
Matrix
rows
Mean access time,
single element (mS)
Matrix
columns
Matrix
rows
7 - 50
Summary of Contents for TI-92+
Page 52: ...Component side of PCB GraphLink I O connector detail 1 41...
Page 53: ...LCD connector detail PCB switch side 1 42...
Page 54: ...Key pad sheet contact side Key pad sheet key side 1 43...
Page 55: ...Key cap detail 1 44...
Page 57: ...Component side of PCB with shield removed A detail view of the intergrated circuits 1 46...
Page 410: ...void extensionroutine2 void Credit to Bhuvanesh Bhatt 10 4...