-GetNamespaces
--------------
-
- Obtaining the list of namespaces is an expensive process because
- Reflection.Emit does not provide a quick way of pulling the data out,
- and it is too slow to load it.
-
- Calling GetNamespaces on my machine (1Ghz):
-
- * Takes half a second with the standard assemblies (corlib + System);
- Fetching the types from it takes 0.0028650 seconds.
-
- * Loading the top 10 largest assemblies we ship with Mono makes MCS take
- 8 seconds to startup the first time, subsequent invocations take 2 seconds.
-
- Fetching all the types (Assembly.GetTypes ()) for all the assemblies takes
- 0.0069170 seconds.
-
- So pulling all the types takes very little time, maybe we should look into our
- Hashtable implementation to make it more optimal.