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 MarianApalaghiei, Today, 10:49 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by love2code2trade, Yesterday, 01:45 PM
      4 responses
      28 views
      0 likes
      Last Post love2code2trade  
      Started by funk10101, Today, 09:43 PM
      0 responses
      8 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      37 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      46 views
      0 likes
      Last Post bill2023  
      Working...
      X