2002-11-26 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Wed, 27 Nov 2002 17:17:19 +0000 (17:17 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 27 Nov 2002 17:17:19 +0000 (17:17 -0000)
commitef06c30b63a3c688948c86464356484514355472
treeb9cf92dc1917518833e3cef42cee4620c9421a6b
parentd2c0a54a6f7b8d5dfd9c63680c294f5e536ea336
2002-11-26  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (IsCLRType): New routine to tell whether a type
is one of the builtin types.

Maybe it needs to use TypeCodes to be faster.  Maybe we could use
typecode in more places instead of doing pointer comparissions.
We could leverage some knowledge about the way the typecodes are
laid out.

New code to cache namespaces in assemblies, it is currently not
invoked, to be used soon.

* decl.cs (DeclSpace.MakeFQN): Simple optimization.

* expression.cs (Binary.ResolveOperator): specially handle
strings, and do not perform user-defined operator overloading for
built-in types.

svn path=/trunk/mcs/; revision=9212
mcs/mcs/ChangeLog
mcs/mcs/decl.cs
mcs/mcs/driver.cs
mcs/mcs/expression.cs
mcs/mcs/typemanager.cs