[Gambas-user] Faster compiler

Brian G brian at westwoodsvcs.com
Sun Jan 31 17:49:17 CET 2021


I it worth adding this option to the scripter? 

It would only effect scripts with 1 or more classes embedded into the script I think. In those cases it should speed things up. 


Thank You 
Brian G 


From: "Bruce Steers" <bsteers4 at gmail.com> 
To: "Gambas mailing list" <user at lists.gambas-basic.org> 
Sent: Sunday, January 31, 2021 4:03:41 PM 
Subject: Re: [Gambas-user] Faster compiler 

Additional.... 




Note. Mime skip = In my make install files i use xdg-mime to test blank files and see if the filetype is known and skip the mime install if the gambas files are recognised. 
See the commit here: [ https://gitlab.com/bsteers4/gambas/-/commit/40224153abecd46e7782e37002f2e2f0db70abe8 | https://gitlab.com/bsteers4/gambas/-/commit/40224153abecd46e7782e37002f2e2f0db70abe8 ] 



Note on the mime skip , on systems like fedora and suse xdg-mime when run as root detects the blank files as text/plain (the scripts) each time and similar fail on the blank gambas exe so does not skip installing but just re-installs each time , on debian and ubuntu it does detect and skips. so it is not exactly perfect but does not break anything. 


I'll run some tests on a raspberry later. 
BruceS 




----[ http://gambaswiki.org/wiki/doc/netiquette ]---- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210131/90f6d1f4/attachment-0001.htm>


More information about the User mailing list