✔ v24.30.0116 is working out of the box (and commenting out "_Terminate" in v24.30.0115 prevented the Error 9 indeed)!
No other apparent issues on my side — and the subs are still muuuch faster!
— Note 1: After investigating, the slow-down with the dynamic script didn’t come from itself, but from the visibility toggle of System or Hidden files!
— Note 2: I’m also still trying to find out why I have a ~80ms difference when toggling between sessions, between a fresh XY install and my XY settings (with the same Session Manager settings).
Some internal XYplorer settings must come into play… I’ll post the results in Session Manager forum when I find out.
In the meantime, I think I can mark this wish as granted!
Thanks a lot
Flux
SC: Faster speed of subs (by loading from memory) [Granted]
-
- Posts: 855
- Joined: 05 Oct 2011 13:15
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Hmm, many of my scripts appear to be broken (24.030.0116). It seems to be related to loading dynamically assembled scripts (pattern load($mscript, , "s"); )
Unfortunately, right now I don't have any time for looking into it deeper - will have to roll back.
Unfortunately, right now I don't have any time for looking into it deeper - will have to roll back.
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
-
- Site Admin
- Posts: 60552
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Might be fixed in v24.30.0118.
FAQ | XY News RSS | XY Twitter
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Nope.
"Every" (haven't checked all) script generated and run from within a script gets borked. It's hard to decipher these interpreter messages into an overall pattern but it's somewhat indicating the script scopes/boundaries get "lost" and/or the AST is scrambled.
@Ken: thanks.
Last edited by Filehero on 23 Apr 2023 21:10, edited 1 time in total.
-
- Site Admin
- Posts: 60552
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Shall I OCR your shots or will you provide an actual script for testing?
FAQ | XY News RSS | XY Twitter
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Unfortunately, none of those scripts will run on your side ootb.
Don't know when I will find the time to strip them down to the relevant "bones".
Don't know when I will find the time to strip them down to the relevant "bones".
-
- Site Admin
- Posts: 60552
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC: Faster speed of subs (by loading from memory) [Granted]
OK, I think see it now. No time today anymore for the fix. Tomorrow...
FAQ | XY News RSS | XY Twitter
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Heredocs?
I started hunting, but my scripts are heavily nested (includes) so it's a real time-swalling pita (commenting/uncommenting by trial&error) to even touch a potential region of troubles.
Currently my (a?) candidate is an "included function" defining a heredoc which in turn defines a script header with further include statements.
I started hunting, but my scripts are heavily nested (includes) so it's a real time-swalling pita (commenting/uncommenting by trial&error) to even touch a potential region of troubles.
Currently my (a?) candidate is an "included function" defining a heredoc which in turn defines a script header with further include statements.
-
- Site Admin
- Posts: 60552
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Recursion is a bitch. Tomorrow...
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 60552
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: SC: Faster speed of subs (by loading from memory) [Granted]
Is it fixed now (v24.30.0119)?
FAQ | XY News RSS | XY Twitter
Re: SC: Faster speed of subs (by loading from memory) [Granted]
At work on MacOS. Maybe later.
Edit: with v24.30.0121 the script errors reported above are gone.
Edit: with v24.30.0121 the script errors reported above are gone.