| 1 |
Files to build: 5 |
| 2 |
symbol_export _main.t -> _main.t3s |
| 3 |
symbol_export vector.t -> vector.t3s |
| 4 |
compile _main.t -> _main.t3o |
| 5 |
compile vector.t -> vector.t3o |
| 6 |
link -> vector.t3 |
| 7 |
|
| 8 |
(T3VM) Memory blocks still in use: |
| 9 |
|
| 10 |
Total blocks in use: 0 |
| 11 |
initially empty: |
| 12 |
after adding new members: |
| 13 |
[1] 1 |
| 14 |
[2] 2 |
| 15 |
[3] 3 |
| 16 |
after incrementing members: |
| 17 |
[1] 31 |
| 18 |
[2] 22 |
| 19 |
[3] 13 |
| 20 |
x should not be modified: |
| 21 |
after subtracting 22: |
| 22 |
[1] 31 |
| 23 |
[2] 13 |
| 24 |
after adding list: |
| 25 |
[1] 31 |
| 26 |
[2] 13 |
| 27 |
[3] 50 |
| 28 |
[4] 60 |
| 29 |
[5] 70 |
| 30 |
after subtracting list: |
| 31 |
[1] 13 |
| 32 |
[2] 60 |
| 33 |
after inserting at element 1: |
| 34 |
[1] a |
| 35 |
[2] b |
| 36 |
[3] c |
| 37 |
[4] 13 |
| 38 |
[5] 60 |
| 39 |
after inserting at element 2: |
| 40 |
[1] a |
| 41 |
[2] X |
| 42 |
[3] Y |
| 43 |
[4] b |
| 44 |
[5] c |
| 45 |
[6] 13 |
| 46 |
[7] 60 |
| 47 |
after removing element 3: |
| 48 |
[1] a |
| 49 |
[2] X |
| 50 |
[3] b |
| 51 |
[4] c |
| 52 |
[5] 13 |
| 53 |
[6] 60 |
| 54 |
after removing elements 2-4: |
| 55 |
[1] a |
| 56 |
[2] 13 |
| 57 |
[3] 60 |
| 58 |
after prepending 999: |
| 59 |
[1] 999 |
| 60 |
[2] a |
| 61 |
[3] 13 |
| 62 |
[4] 60 |
| 63 |
after adding vector: |
| 64 |
[1] 999 |
| 65 |
[2] a |
| 66 |
[3] 13 |
| 67 |
[4] 60 |
| 68 |
[5] 21 |
| 69 |
[6] 22 |
| 70 |
[7] 23 |
| 71 |
v2: |
| 72 |
[1] 21 |
| 73 |
[2] a |
| 74 |
after subtracting vector v2: |
| 75 |
[1] 999 |
| 76 |
[2] 13 |
| 77 |
[3] 60 |
| 78 |
[4] 22 |
| 79 |
[5] 23 |
| 80 |
v2 after append: |
| 81 |
[1] 21 |
| 82 |
[2] a |
| 83 |
[3] b |
| 84 |
v2 after appendAll: |
| 85 |
[1] 21 |
| 86 |
[2] a |
| 87 |
[3] b |
| 88 |
[4] c |
| 89 |
[5] d |
| 90 |
[6] e |
| 91 |
|
| 92 |
list + vector: |
| 93 |
[1] 4 |
| 94 |
[2] 5 |
| 95 |
[3] 6 |
| 96 |
[4] 1 |
| 97 |
[5] 2 |
| 98 |
[6] 3 |
| 99 |
list - vector: |
| 100 |
[1] 5 |
| 101 |
[2] 1 |
| 102 |
[3] 3 |
| 103 |
|
| 104 |
Vector.generate multiples of 10: |
| 105 |
[1] 10 |
| 106 |
[2] 20 |
| 107 |
[3] 30 |
| 108 |
[4] 40 |
| 109 |
[5] 50 |
| 110 |
[6] 60 |
| 111 |
[7] 70 |
| 112 |
[8] 80 |
| 113 |
[9] 90 |
| 114 |
[10] 100 |
| 115 |
|
| 116 |
splice(5,2): [10, 20, 30, 40, 70, 80, 90, 100] |
| 117 |
splice(-2,0,a,b,c): [10, 20, 30, 40, 70, 80, a, b, c, 90, 100] |
| 118 |
splice(0,0,d,e,f): [10, 20, 30, 40, 70, 80, a, b, c, 90, 100, d, e, f] |
| 119 |
splice(-2,9,x): [10, 20, 30, 40, 70, 80, a, b, c, 90, 100, d, x] |
| 120 |
splice(1,0,xxx,yyy): [xxx, yyy, 10, 20, 30, 40, 70, 80, a, b, c, 90, 100, d, x] |
| 121 |
|
| 122 |
toList(-3): [100, d, x] |
| 123 |
copyFrom(-3, -5, 3): [11, 22, 33, 44, 55, 100, d, x, 99, 110] |
| 124 |
fillValue(fill, -6, 3): [11, 22, 33, 44, fill, fill, fill, x, 99, 110] |
| 125 |
insertAt(-2, one, two): [11, 22, 33, 44, fill, fill, fill, x, one, two, 99, |
| 126 |
110] |
| 127 |
removeElementAt(-3): [11, 22, 33, 44, fill, fill, fill, x, one, 99, 110] |
| 128 |
removeRange(-7, -5): [11, 22, 33, 44, x, one, 99, 110] |
| 129 |
|
| 130 |
(T3VM) Memory blocks still in use: |
| 131 |
|
| 132 |
Total blocks in use: 0 |