digitalmars.D.announce - MinTL dmd-119 update and ArrayList enhancements
- Ben Hinkle (15/15) Mar 24 2005 I posted this to D.dtl but since we now have an announcements group I'll...
I posted this to D.dtl but since we now have an announcements group I'll post here, too. I've updated MinTL to work with dmd-119, though there could be a problem with MultiAA, which is an alias for Value[][Key]. The unittest fails when I try to concatenate onto the end of the Value[] array and set that back into the AA. I don't know what is going on with that so I'll have to check it out when I get more time. I also added some functions to ArrayList to allow it to be used like an array with capacity. I added the new read/write property capacity and added a setter for length. For those who don't know MinTL an ArrayList is an array with efficient insert/delete from the head and tail. Basically it is a circular array. By keeping the head at 0 it becomes an array with capacity. I decided the tradeoff of reusing ArrayList is better than inventing a whole new type for tracking capacity. Available from the usual place http://home.comcast.net/~benhinkle/mintl/
Mar 24 2005