Red-Black Gauss-seidel with mir
9il
ilyayaroshenko at gmail.com
Mon Sep 14 14:32:08 UTC 2020
On Monday, 14 September 2020 at 09:50:16 UTC, Christoph wrote:
> Hi Ilya,
>
> On Sunday, 13 September 2020 at 19:29:31 UTC, 9il wrote:
>> [...]
>
> I have tested it with dmd and ldc and called them just with
> $ dub build --compiler=ldc(dmd)
> with no more configurations in the dub.json file.
>
> [...]
On Monday, 14 September 2020 at 09:50:16 UTC, Christoph wrote:
For a release performance, it should be run in release mode
```
dub build --build=release --compiler=ldc2
```
I expect it will speed up the slow version a few times.
Also, the slow version has a few times more memory access then
the fast version and Python. The improvement would look more like
the C code and require inner loops.
Your fast version looks good too me. If it is correct, it is very
good.
More information about the Digitalmars-d-learn
mailing list