aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorjagt <jagt@live.com>2022-03-25 22:53:58 +0800
committerVeikka Tuominen <git@vexu.eu>2022-03-27 11:23:11 +0300
commit29c32b3dc50218d15f779201e154d425fffcefeb (patch)
treeb16349f3069554879e6bb060d29357b3d93cc98f /src/type.zig
parent23507f20b943e7923978b293cb03bee886f913ed (diff)
downloadzig-29c32b3dc50218d15f779201e154d425fffcefeb.tar.gz
zig-29c32b3dc50218d15f779201e154d425fffcefeb.zip
`Namespace.decls` use context to save memory
change `Module.Namespace.decls` from `AutoArrayHashMapUnmanaged` to `ArrayHashMapUnmanaged(*Decl, void)` with custom context to eliminate duplicated decl name strings. Also see: https://zig.news/andrewrk/how-to-use-hash-map-contexts-to-save-memory-when-doing-a-string-table-3l33
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions