haskell / haskell/aeson

implement `toMapText` and `fromMapText` as `unsafeCoerce`?

Open
#1,086 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Haskell
Stars
1.3k
Forks
336
Avg merge
3d 7h
Merged PRs (30d)
4

Description

It appears that `Key` has the same `Ord` instance as `Text` so I wonder what would be the issue with speeding up these two functions by using `unsafeCoerce`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.