[Haskell-cafe] Traversing a graph in STM

Sebastian Sylvan sylvan at student.chalmers.se
Tue Sep 19 13:37:28 EDT 2006

On 9/19/06, Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
> Hello Jan-Willem,
> Tuesday, September 19, 2006, 5:47:15 PM, you wrote:
> > I'd like to make an STM version of Data.HashTable, but it requires
> > implementing some sort of STMArray, or using an array of TVars and
> are we not have TArray already?

The current TArray is implemented as an array of TVars IIRC. There was
some discussion about possibly using a more efficient implementation
in the future, but AFAIK it hasn't been done yet.

Sebastian Sylvan
UIN: 44640862

More information about the Haskell-Cafe mailing list