bennofs / th-lift-instances

Lift instances for common haskell data types
http://hackage.haskell.org/package/th-lift-instances
Other
12 stars 11 forks source link

Containers use the slow list conversions #24

Closed Mikolaj closed 2 years ago

Mikolaj commented 3 years ago

Hi,

Thank you for this package.

The containers instances use fromList/toList instead of the faster fromDistinctAscList/toAscList. I haven't measured the hit, but even if now it's not huge, the implementation of containers can change and these operations are guaranteed to be always faster.