Hi Miha
first of all thanks for your time.
but I can clearly see a difference between the first and subsequent time
run. The subsequent executions are clearly faster than the first. I'm really
curious on what makes up the differences. I'm running it on XP Pro.
Also, I'm hesitated to use NGEN because I heard somewhere that it will
actually produced native codes for you that are very much optimized for the
machine you NGENed, so you may have performance isssues when running another
machine. Furthermore, I not sure if there is any compatibility issue, say if
I NGENed it on XP Pro(using Intel CPU), will the generated native code be
able to run on another XP Pro running on AMD CPU?
can you recomend some websites or online resources at MS for further
information? on this matter as well as for NGEN? thank you very much.
thanks
dan
"Miha Markic" <miha at rthand com> wrote in message
news:ul**************@TK2MSFTNGP12.phx.gbl...
Hi Dan,
"Dan" <bi*******@yahoo.com.sg> wrote in message
news:OV****************@TK2MSFTNGP12.phx.gbl... Hi Miha
thanks for the reply. If it is not persisted and resides in the memory,
is it staying in the EXE process memory. What happens when the exe is
terminated? Does it means that the MSIL will always needs to be
converted to native code each time the .NET exe is executed?
Yup.
or does the conversion only happens once when the exe is first run?
No. It happens always unless you NGEN-it.
--
Miha Markic - DXSquad/RightHand .NET consulting & software development
miha at rthand com