Re: commit -- Working STL vector support


Subject: Re: commit -- Working STL vector support
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Tue Dec 19 2000 - 03:03:44 CST


On Mon, Dec 18, 2000 at 09:47:17PM -0500, Thomas Fletcher wrote:
> Then I went into the vector class and re-wrote the array growing code
> to use realloc() instead of malloc free and at the same time got
> rid of a function call that was being used in one location to
> determine how much to grow the array. Re-running the tests I got:

I tested your changes and they are great. Please commit them. A useful
change would be to inline getNthItem. And don't forget to enable
FIRST_OPTIMIZATION and SECOND_OPTIMIZATION.

Thanks,
Aaron Lehmann




This archive was generated by hypermail 2b25 : Tue Dec 19 2000 - 03:03:54 CST