Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-28 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 28 May 2019 at 06:06:24 UTC, Seb wrote: On Tuesday, 28 May 2019 at 05:11:15 UTC, Andre Pany wrote: On Monday, 27 May 2019 at 07:16:37 UTC, BoQsc wrote: [...] I can confirm, without measuring the exact timing, "dmd -run test.d" feels much faster than "rdmd test.d". I would say 1

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-28 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 28 May 2019 at 06:06:24 UTC, Seb wrote: On Tuesday, 28 May 2019 at 05:11:15 UTC, Andre Pany wrote: On Monday, 27 May 2019 at 07:16:37 UTC, BoQsc wrote: [...] I can confirm, without measuring the exact timing, "dmd -run test.d" feels much faster than "rdmd test.d". I would say 1

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-28 Thread Seb via Digitalmars-d-learn
On Tuesday, 28 May 2019 at 05:11:15 UTC, Andre Pany wrote: On Monday, 27 May 2019 at 07:16:37 UTC, BoQsc wrote: [...] I can confirm, without measuring the exact timing, "dmd -run test.d" feels much faster than "rdmd test.d". I would say 1 second instead of 2 seconds. Kind regards André

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-27 Thread Andre Pany via Digitalmars-d-learn
On Monday, 27 May 2019 at 07:16:37 UTC, BoQsc wrote: On Sunday, 26 May 2019 at 20:37:36 UTC, Jon Degenhardt wrote: [...] The desktop computer I'm testing this on contains Solid State Drive, a Windows 10 Home Operating system and about 7-9 years old of hardware. But remember, we are living

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-27 Thread BoQsc via Digitalmars-d-learn
On Sunday, 26 May 2019 at 20:37:36 UTC, Jon Degenhardt wrote: On Saturday, 25 May 2019 at 22:18:16 UTC, Andre Pany wrote: On Saturday, 25 May 2019 at 08:32:08 UTC, BoQsc wrote: I have a simple standard .d script and I'm getting annoyed that it takes 2-3 seconds to run and see the results via

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-26 Thread Jon Degenhardt via Digitalmars-d-learn
On Saturday, 25 May 2019 at 22:18:16 UTC, Andre Pany wrote: On Saturday, 25 May 2019 at 08:32:08 UTC, BoQsc wrote: I have a simple standard .d script and I'm getting annoyed that it takes 2-3 seconds to run and see the results via rdmd. Also please keep in mind there could be other factors

Re: rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-25 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 25 May 2019 at 08:32:08 UTC, BoQsc wrote: rdmd is a companion to the dmd compiler that simplifies the typical edit-compile-link-run or edit-make-run cycle to a rapid edit-run cycle. Like make and other tools, rdmd uses the relative dates of the files involved to minimize the

rdmd takes 2-3 seconds on a first-run of a simple .d script

2019-05-25 Thread BoQsc via Digitalmars-d-learn
rdmd is a companion to the dmd compiler that simplifies the typical edit-compile-link-run or edit-make-run cycle to a rapid edit-run cycle. Like make and other tools, rdmd uses the relative dates of the files involved to minimize the amount of work necessary. Unlike make, rdmd tracks