just kidding, but I noticed that we can now do this with the ALL modifier on line 12 of 45.4 (28.5.2018)
C:MakeDir RAM:T RAM:Clipboards RAM:ENV/Sys ALL
Startup-Sequence boot speedup
- thomasrapp
- Posts: 310
- Joined: Sat Jun 18, 2011 11:22 pm
Re: Startup-Sequence boot speedup
It shortens the command line but how does it speed up the processing?
It rather slows it down. The directories have to be created one by one anyway. With your command line it first has to recognise that ram:env does not yet exist. So it's at least one DOS call more than with all sub-directories specified explicitly.
It rather slows it down. The directories have to be created one by one anyway. With your command line it first has to recognise that ram:env does not yet exist. So it's at least one DOS call more than with all sub-directories specified explicitly.
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Startup-Sequence boot speedup
Maybe because MakeDir only has to be loaded once?thomasrapp wrote:It shortens the command line but how does it speed up the processing?
Best regards,
Niels
- thomasrapp
- Posts: 310
- Joined: Sat Jun 18, 2011 11:22 pm
Re: Startup-Sequence boot speedup
Maybe you should look at the code before you suggest something?nbache wrote:Maybe because MakeDir only has to be loaded once?
Old: C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
New: C:MakeDir RAM:T RAM:Clipboards RAM:ENV/Sys ALL
In both cases MakeDir is loaded only once.
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Startup-Sequence boot speedup
Yeah, sorry, I stand corrected.
I don't actually use any 3.x systems since many years, and haven't seen 3.1.4 IRL.
Best regards,
Niels
I don't actually use any 3.x systems since many years, and haven't seen 3.1.4 IRL.
Best regards,
Niels
Re: Startup-Sequence boot speedup
This is in the 3.1.4 update - among other updates, the makedir command now supports creating folders recursively
I noticed that the default Startup-Sequence on the new 3.1.4 release doesn't take advantage of this yet
that's all.
I noticed that the default Startup-Sequence on the new 3.1.4 release doesn't take advantage of this yet
that's all.