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 dcriador, Today, 08:56 AM
      0 responses
      2 views
      0 likes
      Last Post dcriador  
      Started by sugalt, 04-30-2024, 04:02 AM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by Trader146, 03-29-2024, 01:22 PM
      5 responses
      28 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by tkaboris, Today, 08:32 AM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by sidlercom80, 10-28-2023, 08:49 AM
      178 responses
      2,409 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X