[Mono-devel-list] freeing intermediate structures in mcs

Varga Zoltan vargaz at freemail.hu
Wed Apr 9 12:38:06 EDT 2003


                                               Hi,

>    Currently there is some code to output a separate file
(.nsc), which
> we will likely keep for Windows compatibility.  Paolo has
promised me a
> Mono runtime call to extract the namespaces quickly
without the cache.
> 

What about the following approach: when a type is added to the
typemanager, add all parts of its namespace to the
namespaces table?
The attached patch implements this approach. It's hit rate
is quite good,
i. .e. it catches most of the namespace accesses.

                bye

                       Zoltan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs.diff
Type: application/octet-stream
Size: 3208 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030409/4124fd24/attachment.obj 


More information about the Mono-devel-list mailing list