Handbook
Glossary
heap-stats-of. ( instances -- )
Vocabulary
tools
.
memory
Inputs
instances
an
object
Outputs
None
Definition
USING:
assocs
io
io.styles
kernel
prettyprint
sequences
sorting
;
IN:
tools.memory
:
heap-stats-of.
( instances -- )
heap-stats-of
dup
keys
sort
standard-table-style
[
[
{
"Class"
"Bytes"
"Instances"
}
[
write-cell
]
each
]
with-row
[
[
dup
pprint-cell
dup
pick
at
pprint-cell
pick
at
pprint-cell
]
with-row
]
each
2drop
]
tabular-output
nl
;