2009-05-09 Miguel de Icaza <miguel@novell.com>
commit73e554f6a28479e2bc4403843359e28201a70f60
authormiguel <miguel@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Sat, 9 May 2009 17:37:51 +0000 (9 17:37 +0000)
committermiguel <miguel@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Sat, 9 May 2009 17:37:51 +0000 (9 17:37 +0000)
treece90142bd9706e2f28b75bd37042ada7ebecfc61
parent8af28d727e400167fffa4c9227271b202be0a42f
2009-05-09  Miguel de Icaza  <miguel@novell.com>

* messages.c (message_string): instead of having a gigantic switch
table, use a sorted structure in memory and do a binary search on
it.

This reduces the runtime size by 49k and the debugging symbols by
400k.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@133828 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/io-layer/ChangeLog
mono/io-layer/messages.c