Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16418

Re: For 2014?

From Ulrich Arndt <ulrich.arndt@data2knowledge.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: For 2014?
Date 2014-01-13 07:14 +0000
Message-ID <lb03pg$dt3$1@smc.vnet.net> (permalink)
References (3 earlier) <644455E9-F8F1-491C-9EFE-1198A90B8FED@wolfram.com> <la606o$faj$1@smc.vnet.net> <20140107075437.D0DF569ED@smc.vnet.net> <lao80v$pmm$1@smc.vnet.net> <20140112073203.5EAE569D4@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Hahaha, it's sometimes to easy to fool yourself ;-).
I was always reading this in a way that it will be done only once as it the same for all calls...

Thanks Ulrich

Am 12.01.2014 um 08:32 schrieb Bogu=C5=9B:

> Ulrich Arndt  wrote:
>> Yes, this is much faster - 5 times on my machine.
>> Problem is that we get 141 chars even if we replace the re by b ;-).
>>
>> But can someone explain the reason for the huge processing time difference?
>>
>> Ulrich
>>
>
>
> =
l=Range[9];r=StringJoin[Riffle[ToString/@l,#]]&/@Tuples[{"+","-","*","/",""},8];Grid[{#,Extract[r,Position[ToExpression/@r,#]]}&/@(l+2010)]
>
> Position[ToExpression/@r,#]
>            ^^^^^ This is the slowest process. 9 times repeated
>
> --
>  Costa
>

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: For 2014? Ulrich Arndt <ulrich.arndt@data2knowledge.de> - 2014-01-03 09:34 +0000
  Re: For 2014? Costa Bravo <q13a27tt@aol.com> - 2014-01-07 07:49 +0000
  Re: For 2014? Ulrich Arndt <ulrich.arndt@data2knowledge.de> - 2014-01-10 07:38 +0000
    Re: For 2014? Boguś <telemorele@wp.pl> - 2014-01-12 07:24 +0000
    Re: For 2014? Ulrich Arndt <ulrich.arndt@data2knowledge.de> - 2014-01-13 07:14 +0000

csiph-web