== Quote from Andrei Alexandrescu ([email protected])'s article > bearophile wrote: > > dsimcha: > >> The problems with this are that it's a little bit ugly and that there's no > >> standard ArrayBuilder struct. People have written them before, and it's > >> very easy > >> to write your own just the way you like it, but a standard version in Phobos/Tango > >> would be nice. > > > > It's not easy nor fast to write a good version of it. > I disagree on both counts. Haven't we discussed and settled this before? > OP, you may want to refer to this page: http://tinyurl.com/4ufuxg and > search for ArrayAppender.
I realized we had discussed this, but I didn't realize that this ArrayAppender struct is going to become part of Phobos anytime soon. I think it definitely should be, so that everyone doesn't have to search for it or reinvent the wheel. Thanks for reminding me about it though, will test.
