Added: 1 year ago
From: WolframResearch
Views: 3,911
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Amazing Tip! I made my own comparition test, among NormaFunction, CompiletFunction and CompiledFunctionInC. The results are: CompiledFunction: 14.7 faster then NormalFunction CompiledFunctionInC: 40.5 faster then NormalFunction there are the functions: nf[x_] := (Sin[x] + x^2 - 1/(1 + x)) // N; cf = Compile[{{x, _Integer}}, Sin[x] + x^2 - 1/(1 + x)]; cfc = Compile[{{x, _Integer}}, Sin[x] + x^2 - 1/(1 + x), CompilationTarget -> "C"]; aplied to RandomInteger[{1, 10}, 10^6] and total Tks!
Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more