Handbook
Glossary
code-blocks
Vocabulary
tools
.
memory
Definition
USING:
grouping
hashtables
;
IN:
tools.memory
TUPLE:
code-blocks
{
blocks
groups
initial:
T{
groups
}
}
{
cache
hashtable
initial:
H{
}
}
;
Methods
USING:
accessors
sequences
tools.memory
;
M:
code-blocks
length
blocks>>
length
;
inline
USING:
accessors
assocs
kernel
sequences.private
tools.memory
tools.memory.private
;
M:
code-blocks
nth-unsafe
[
cache>>
]
[
blocks>>
]
bi
[
nth-unsafe
<code-block>
]
curry
cache
;
inline