Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10871
| From | Murta <rodrigomurtax@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Replace, ReplaceAll and If time performace comparition |
| Date | 2012-07-11 06:19 +0000 |
| Message-ID | <jtj5tk$5n9$1@smc.vnet.net> (permalink) |
| References | <201206240826.EAA08423@smc.vnet.net> <201206250801.EAA15438@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Hi Albert,
I get this message when I tried to teste your suggestion when using " CompilationTarget -> "C" ":
"A C compiler cannot be found on your system. Please consult the documentation to learn how to set up suitable compilers"
I'm using Max OS X 10.7.4
Some clue?
Tks in advance
On Thursday, June 28, 2012 5:04:00 AM UTC-3, awnl wrote:
> Hi,
>
> > Can anyone top the result?
>
> contradicting to my announcement, I tried anyway and found this to be
> considerably faster on my machine:
>
> cf3 = Compile[{{list, _Integer, 1}},
> Map[If[# > 0, #, 0] &, list],
> CompilationTarget -> "C"
> ]
>
> hth,
>
> albert
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Replace, ReplaceAll and If time performace comparition Murta <rodrigomurtax@gmail.com> - 2012-07-11 06:19 +0000
csiph-web