I wanted to use BTree and also not use pre post_upgrades, so I've removed a lot of the code and kept the essentials.
BTrees are going to do a better job here imo, because you can search for files with a prefix and easily find them all.
HashMaps can't provide that and scale.
https://github.com/infu/certified-http/blob/main/src/lib.mo#L15
I wanted to use BTree and also not use pre post_upgrades, so I've removed a lot of the code and kept the essentials. BTrees are going to do a better job here imo, because you can search for files with a prefix and easily find them all. HashMaps can't provide that and scale. https://github.com/infu/certified-http/blob/main/src/lib.mo#L15