1 páginas (3 elementos)
Puzzling Timing - Puzzling Timing - Mensajes
These two images are computed from two different programs.
The puzzle in not about one version vs the other.
The question about the source document:
1. from [...suiteVectorize => 12 s]
2. from [,,,suiteVctorize 2D hyperfast => 3 s]
Not enough to drop dead but puzzling !

Utilities Discrete ALLsuiteVectorize [2D hyperfast].sm (22,3 KiB) descargado 1184 vez(es).
Utilities Discrete ALLsuiteVectorize Copy.sm (61,47 KiB) descargado 1310 vez(es).
The puzzle in not about one version vs the other.
The question about the source document:
1. from [...suiteVectorize => 12 s]
2. from [,,,suiteVctorize 2D hyperfast => 3 s]
Not enough to drop dead but puzzling !
Utilities Discrete ALLsuiteVectorize [2D hyperfast].sm (22,3 KiB) descargado 1184 vez(es).
Utilities Discrete ALLsuiteVectorize Copy.sm (61,47 KiB) descargado 1310 vez(es).
Hi Jean,
I think it's because you've already defined the function Sym(4) at the top of sheet in the "Utilities Discrete ALLsuiteVectorize Copy.sm"
My guess is that however SMath handles memory management, it may be quicker to define a variable/function the 1st time than to overwrite it with a new content.
In the attached, all I've done is changed the function name and call of the first instance to "Sym1". I'm now getting comparable times between the two documents.
Utilities Discrete ALLsuiteVectorize Copy [Lyles].sm (63,18 KiB) descargado 1211 vez(es).
I think it's because you've already defined the function Sym(4) at the top of sheet in the "Utilities Discrete ALLsuiteVectorize Copy.sm"
My guess is that however SMath handles memory management, it may be quicker to define a variable/function the 1st time than to overwrite it with a new content.
In the attached, all I've done is changed the function name and call of the first instance to "Sym1". I'm now getting comparable times between the two documents.
Utilities Discrete ALLsuiteVectorize Copy [Lyles].sm (63,18 KiB) descargado 1211 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
A 1 usuarios les gustó este mensaje
Davide Carpi 6/11/2018 17:09:00
WroteHi Jean,
I think it's because you've already defined the function Sym(4) at the top of sheet in the "Utilities Discrete ALLsuiteVectorize Copy.sm"
My guess is that however SMath handles memory management, it may be quicker to define a variable/function the 1st time than to overwrite it with a new content.
In the attached, all I've done is changed the function name and call of the first instance to "Sym1". I'm now getting comparable times between the two documents.
1. Thanks alyles, confirmed. Works fine from the download [3 s]
2. Saved your version in my file, new Smath session ... back to [12 s]
Conclusion: Shadow in the context.
I love that Mathematica expression ... get the Sky hoke !
Cheers ... Jean
1 páginas (3 elementos)
- Nuevos mensajes
- Sin mensajes nuevos