Handbook
Glossary
point-array
Vocabulary
benchmark
.
tuple-arrays
Definition
USING:
arrays
sequences.private
;
IN:
benchmark.tuple-arrays
TUPLE:
point-array
{
seq
array
read-only
initial:
{
}
}
{
n
array-capacity
read-only
initial:
0
}
{
length
array-capacity
read-only
initial:
0
}
;
Methods
USING:
accessors
benchmark.tuple-arrays
sequences
;
M:
point-array
length
length>>
;
inline
USING:
benchmark.tuple-arrays
kernel
sequences
;
M:
point-array
like
drop
dup
point-array?
[
>point-array
]
unless
;
inline
USING:
benchmark.tuple-arrays
kernel
sequences
;
M:
point-array
new-sequence
drop
<point-array>
;
inline
USING:
benchmark.tuple-arrays
sequences.private
tuple-arrays.private
;
M:
point-array
nth-unsafe
tuple-slice
\
point
read-tuple
;
inline
USING:
benchmark.tuple-arrays
sequences.private
tuple-arrays.private
;
M:
point-array
set-nth-unsafe
tuple-slice
\
point
write-tuple
;
inline