typerep-map icon indicating copy to clipboard operation
typerep-map copied to clipboard

⚡️Efficient implementation of Map with types as keys

Results 17 typerep-map issues
Sort by recently updated
recently updated
newest added

Instead of using `Any`, use `TypeRep Any` or `f Any`. This makes it considerably easier to see what each coercion is actually doing. It also allows the compiler to use...

The extra implementations of `TypeRepMap` generally has worse performance and adds dependency footprint, especially the `vector` dependency that *takes a decade* to build. Could we not build them by default?

Haddock supports that.

good first issue
docs
Hacktoberfest

It would be better to have a special data type for this. And also special functions to convert to this datatype. This should improve code readability. And, possible, performance, if...

refactoring

Currently we can get the first half of this via `keys` and the second via `toList`, but I see no permanent guarantee that those have the same ordering (it's implied...

enhancement
help wanted
good first issue
question
bench

Especially useful when we will expose `Map`-based solution. This will also allow us to refactor tests and benchmarks. We don't need to implement all functions for every solution, for non-interesting...

enhancement
refactoring

Probably do it only after multiple public library support is added to `cabal`. Also, maybe it will become possible to abstract interface with Backpack and remove code duplication in benchmarks...

enhancement
structure