|
-
October 7th, 2008, 03:44 AM
#1
How to store a method in memory
Hi guys, I am developping a new application (written in C#) for Windows Embedded CE 6.0
I've a big question for you: I want to maintain some public and compiled methods in memory and then call them whenever I need.
I think that with a "already compiled" method stored in memory, I can boost the performance of my application.
Is it possibile? I know it is a "strange" request and maybe It is not feasible but I want to try anyway.
thanks in advance for all your advices
-
October 7th, 2008, 07:12 AM
#2
Re: How to store a method in memory
I really don't think what you're after is going to work - remember that .NET basically JIT's any needed code before running anyway. The only delays should be during startup and possibly if you're using more memory than it has space for.
-
October 8th, 2008, 02:20 AM
#3
Re: How to store a method in memory
There is native code generator (ngen.exe), which converts IL to native code and should speed up startup of the application, but I don't know if it is available for compact framework too.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|