# Dictionaries for StaticCompiler?

**URL:** https://discourse.julialang.org/t/dictionaries-for-staticcompiler/108601
**Category:** General Usage
**Tags:** dictionary, staticcompiler
**Created:** [January 10, 2024, 12:33am UTC](https://discourse.julialang.org/t/dictionaries-for-staticcompiler/108601 "2024-01-10T00:33:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)
#### Post date: [January 10, 2024, 12:33am UTC](https://discourse.julialang.org/t/dictionaries-for-staticcompiler/108601/1 "2024-01-10T00:33:35Z")

</div>

Is there any dictionary implementation that does not need GC and is therefore compatible with StaticCompiler.jl for the purpose of compiling small binary executables?

---

<div class="post-metadata">

### Author: ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)
#### Post date: [January 10, 2024, 3:50am UTC](https://discourse.julialang.org/t/dictionaries-for-staticcompiler/108601/2 "2024-01-10T03:50:35Z")

</div>

Should be able to use a OrderedCollection’s `LitteDict` that is backed by two tuples.  
If you don’t need to mutate it after creation.  
And there isn’t too much content in it.
