Well, I understand all about boxing, and I appreciate the response. But boxing has nothing at all to do with my question.
My question is -- what, *exactly*, does the JIT compiler do when it compiles methods that take "large" structures as parameters? Is there a threshold beyond which the JIT compiler will always pass a pointer to the structure? And by "pointer" I do NOT mean a managed reference. I mean a literal machine-code pointer. -- arlie -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vince P Sent: Sunday, May 16, 2004 2:57 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Large structures I'm not an expert... BUT.. I think I'm right.. If you're using C#, you can take advantage of boxing which takes a value type and implicitly turns it into a reference type. I dotn know the larger performance/memory implications of this, so the experts will surely give the best practices on this. If you have the October MSDN Docs, you can see this URL about it ms-help://MS.MSDNQTR.2003OCT.1033/csref/html/vclrfboxingconversionpg.htm =================================== This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com