Re: Fragmented arrays?
John Reppy <[email protected]> Fri, 22 Jan 2010 12:08:20 -0600
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
On Jan 20, 2010, at 11:33 PM, Jon Loldrup wrote: > 2010/1/20 John Reppy <[email protected]> > Actually, there is > > Vector.update : 'a vector * int * 'a -> 'a vector > > but it is not a very efficient operation. > > I guess it writes a complete version of the (updated) vector to memory? > Right. If I remember correctly, it was added because Chris Okasaki had a scheme for building efficient functional arrays on top of vectors that required such an operation. - John ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev