Friday, October 26, 2007

NSTL 2.4 is out the door

I finally made it and shipped the NSTL 2.4. This release cycle took extremely long, mainly through a massive investment in extending the unit test coverage form 75 to 88%. The feature set consists of a couple new containers and algorithms.
  • HashSet is a hashed container where each item is unique
  • HashMap is very similar to Dictionary except that it allows to manipulate the values while iterating over the keys
  • HashMultiMap is a hash container that maps n values to a key
  • PriorityQueue is, well a priority queue
  • Deque is a double ended queue that allows random access to its elements
Algorithms are:
  • RandomSample(N)
  • CopyN
  • LexicographicalCompare3Way
  • Iota
Last but not least it contains the adapter I wrote about earlier. I have learned a lot of different strategies to write UnitTests and their pros and downsides in TDD. I also leaned a lot about how much work it is to write good containers for a library. Two thinks I will blog about in the near future.