Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question on Using external dll for increased calculation speed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Question on Using external dll for increased calculation speed

    I have some calculations that are Slow ( several nested WMA's with a long look-back). If I were create a dll would I see an noticeable improvement in speed over the Ninja Script compiled version? Are there any other recommendations other than optimizing the code which I have already done.

    Thanks for any input

    #2
    Originally posted by JerryWar View Post
    I have some calculations that are Slow ( several nested WMA's with a long look-back). If I were create a dll would I see an noticeable improvement in speed over the Ninja Script compiled version? Are there any other recommendations other than optimizing the code which I have already done.

    Thanks for any input
    Using an external dll is unlikely to be an improvement in execution speed. Remember that NT is itself executing as a single DLL. So calling another DLL would actually involve calling overhead, which may be negligible, but would almost certainly be no faster than executing inside a single already loaded DLL, which is what the NT gumball is.

    Comment


      #3
      Yes, I thought it was a stretch , the only hope I thought I had was that the code produced "Script" / compiler was not as optimized as a full out c# compiler.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      321 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      203 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      190 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      283 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      238 views
      0 likes
      Last Post CarlTrading  
      Working...
      X