Martin DeMello wrote:

> Further question - my internal data representation is a vector of
> strings (it's a line-based editor).

String or ByteString or Text?

If its either of the first two, I think you should definitely look at
Text.

> Is there a more efficient strategy
> to keep an mmap buffer in sync with the vector than simply allocating
> some large fixed size per line?

Very much dependent on whether you are using String or one of the
other two I would think.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to