Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.2K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Compiling Expressions "Macro like"

POSTED BY: Robert Nowak
2 Replies

Thank you Rohit, at a first glance it seems to compile but ...

r = RandomReal[{-1, 1}, {1000000, 2}];

r // EstimatedArc; // AbsoluteTiming

r // EstimatedArcC; // AbsoluteTiming


r // EstimatedArcM; // AbsoluteTiming


(*

{0.591217, Null}

{0.095182, Null}

{0.657469, Null}

*)

... it performs even slower than the non compiled version.

POSTED BY: Robert Nowak
Posted 3 years ago
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard