Sorting it all Out Michael Kaplan's random stuff of dubious value Be sure to read the disclaimer here first!
Rico Mariani decided to try a managed version of the dictionary I talked about earlier today. According to Rico, the question of the hour is: How does Raymond's program fare vs. the equivalent managed code below?
But as far as I am concerned, the question of the hour is Where is this code faster -- in the 1.1 or the 2.0 version of the .NET Framework?
The reason I ask is that there have been some definite cool changes in Whidbey around in encodings between versions -- previously the .NET Framework would simply wrap the Win32 APIs (meaning you could only support the code pages that were installed on the machine) but in the new version there is an independent implementation that will work on all platforms where .NET can be installed....
It probably also makes for a more interesting test to compare Whidbey vs. Raymond's original code, to avoid the hit of the old, wrapper version of the same functions that the unmanaged code was calling....
Over on Channel 9 , there is a very cool episode of Behind the Code , this one a conversation with Rico