On Fri, Sep 10, 2010 at 7:18 AM, Isabel Drost <[email protected]> wrote:
> > I'd say add the disk backed ones and we'll worry about education > > separately. > > +1 > +1 > > > > Perhaps it's possible for the vector to keep track of > > thrashing and spit out warnings. Either that or you override the > > random accessors on the file-based ones to throw exceptions so that > > it fails early for users. > > The first options gives users more freedom about what to do with the > implementation - while the latter one probably saves us a few mails > about the implementation being sooooo slow... I'd be fine to go with > either option. I think fail early is the right answer. Nobody much minds that remove throws exception on all of our iterators.
