6 Apr
2009
6 Apr
'09
4:56 p.m.
On Mon, Apr 6, 2009 at 1:49 AM, Bulat Ziganshin <bulat.ziganshin@gmail.com> wrote:
Are those the only legal contents of STUArray?
numbers, chars, vanilla pointers. UArray just mimics C arrays, after all
I haven't gotten to learning about them in detail yet, but my hope was that STUArray was like vector<T> in C++, and STArray was like vector<T*>. Both are fairly general. So if I need a array of complex numbers in Haskell, will I need an extra level of indirection compared to C? And in addition to that some serious issues with GC speed if those arrays need to be mutable?