Skip to content

Implement a more efficient TArray

Control.Concurrent.STM.TArray is implemented as an immutable array of TVars. This gives good parallelism, but isn't very efficient if you don't need that parallelism.

See: http://www.haskell.org//pipermail/haskell-cafe/2005-December/012909.html

Trac metadata
Trac field Value
Version 6.4.1
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information