sema-docs 1.23.0

Canonical structured documentation for Sema builtins/special forms; powers LSP hover/completion and REPL apropos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
---
name: "sys/interner-stats"
module: "system"
section: "System Information"
returns: "map"
---

Return statistics about the global symbol/string interner as a map with `:count` (number of interned strings) and `:bytes` (total bytes they occupy). Useful for diagnosing interner growth.

```sema
(sys/interner-stats)  ; => {:count 1234 :bytes 56789}
```