Re: Faster Dlang Execution

2021-06-08 Thread mw via Digitalmars-d-learn
On Tuesday, 8 June 2021 at 22:04:26 UTC, seany wrote: The program is trying to categorize GPS tracks. It has to identify track that count as (somewhat) parallel (this is difficult to define) . Maybe this is what you looking for: https://en.wikipedia.org/wiki/Dynamic_time_warping and you c

Re: Faster Dlang Execution

2021-06-08 Thread seany via Digitalmars-d-learn
On Tuesday, 8 June 2021 at 18:03:32 UTC, H. S. Teoh wrote: But more importantly, if you can elaborate a bit more on what your program is trying to do, it would help us give more specific recommendations. There may be domain-specific optimizations that you could apply as well. T Hi The

Re: Faster Dlang Execution

2021-06-08 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Jun 08, 2021 at 05:10:47PM +, seany via Digitalmars-d-learn wrote: [...] > Profiling doesn't help, because different input is causing different > parts of the program to become slow. [...] Do you have any more specific information about what kind of inputs cause which parts of the prog

Re: Faster Dlang Execution

2021-06-08 Thread Basile B. via Digitalmars-d-learn
On Tuesday, 8 June 2021 at 17:10:47 UTC, seany wrote: Hello How can I increase the speed of executable files created via : `dub build -b release` try `dub build -b release --compiler=ldc2` Then you can set some specific DFlags for ldc, like -O3 or --mcpu I am unable to parallellise all of

Re: Faster Dlang Execution

2021-06-08 Thread Jack via Digitalmars-d-learn
On Tuesday, 8 June 2021 at 17:40:19 UTC, Basile B. wrote: On Tuesday, 8 June 2021 at 17:10:47 UTC, seany wrote: Hello How can I increase the speed of executable files created via : `dub build -b release` try `dub build -b release --compiler=ldc2` Then you can set some specific DFlags for l

Re: Faster Dlang Execution

2021-06-08 Thread mw via Digitalmars-d-learn
On Tuesday, 8 June 2021 at 17:10:47 UTC, seany wrote: Hello How can I increase the speed of executable files created via : `dub build -b release` I am unable to parallellise all of it, as it depends on part of the result being calculated before something else can be calculated. You need t

Faster Dlang Execution

2021-06-08 Thread seany via Digitalmars-d-learn
Hello How can I increase the speed of executable files created via : `dub build -b release` I am unable to parallellise all of it, as it depends on part of the result being calculated before something else can be calculated. I have many `nonsafe, nonpure` functions. Classes are virtual by