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 Aviram Y, Today, 05:29 AM
      0 responses
      3 views
      0 likes
      Last Post Aviram Y  
      Started by quantismo, 04-17-2024, 05:13 PM
      3 responses
      27 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      7 responses
      36 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by cls71, Today, 04:45 AM
      0 responses
      6 views
      0 likes
      Last Post cls71
      by cls71
       
      Started by mjairg, 07-20-2023, 11:57 PM
      3 responses
      218 views
      1 like
      Last Post PaulMohn  
      Working...
      X