Standing on the shoulders of giants. RSS 2.0
# Monday, March 01, 2004

Until Generics are here, late this year, an interesting observation about the StringCollection:

I don't know why I figured the StringCollection might actually be more performant than the ArrayList.  I guess I assumed this was the one case where they would emit a strongly typed collection that was based on ArrayList, but was strongly typed on the back-end.  However, looking at the rotor source, all it does is inherit from ArrayList and really doesn't provide any added value (except that you don't have to do the string cast when pulling elements out).

My god what was I thinking, using StringCollection over ArrayList?

Monday, March 01, 2004 9:22:12 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0] - Trackback
Development
Comments are closed.
About
© Copyright 2009
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2009, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)