xj2106:
> Alexander Dunlap <alexander.dun...@gmail.com> writes:
> 
> > - uvector, storablevector and vector are all designed for dealing with
> > arrays. They *can* be used for characters/word8s but are not
> > specialized for that purpose, do not deal with Unicode at all, and are
> > probably worse at it. They are better for dealing with things that you
> > would generally use arrays for.
> 
> I think uvector only works with certain types that can be
> unboxed, while storablevector works with all types that
> instantiate Foreign.Storable.Storable.  I don't know about
> vector.  From the description of vector, I have the

That's interesting. I'd expect Storable and UA to have the same set of
inhabitants. Is there any difference?

> impression that it is quite unstable.  How is it compared to
> uvector and storablevector?  I need one of those to work
> with my code to possibly improve the efficiency.  But I
> can't use uvector, because I can't use unboxed types.

Hmm? If you can write a Storable instance, you can write a UA instance.

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

Reply via email to