[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Jit cache, issue when gbs3 --nocache is specified
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Jit cache, issue when gbs3 --nocache is specified
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Sat, 21 Jun 2025 14:10:10 -0700
- To: GambasList <user@xxxxxxxxxxxxxxxxxxxxxx>
In gbs3 the --nocache flag causes the scripter to recreate the compiled script, but when the script is fast the jit cache can not be ignored and overrides the scripts nocache parameter.
When specified as Fast a jit cache is created under the users /tmp/gambas-<uid>/gb.jit. This is never cleared and always used. There is no way to tell gbx3 or gbr3 to not cache the jit .so files.
Which in fact renders the --nocache option for scripter useless in that case. Should scripter ignore the --nocache flag in the case of Fast being used or should it print a warning?
Not sure what should happen here. Add --nocache option to gbx3 or gbr3 same thing
Or is nothing required? Or just drop this from the scripter itself as it really may not be useful except in testing.
-- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature