[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gambas jit , Always compiles every function in a class if the very first function is tagged as fast
[Thread Prev] | [Thread Next]
- Subject: Gambas jit , Always compiles every function in a class if the very first function is tagged as fast
- From: Brian G <brian@xxxxxxxxxxxxxxxx>
- Date: Sat, 14 Jun 2025 14:15:28 -0700
- To: GambasList <user@xxxxxxxxxxxxxxxxxxxxxx>
I am not sure I understand the gambas jit function, but a while back I thought some of my code seemed to take a longer time to start(way back).
It looks like for modules, when a function is tagged as fast, only those functions are jit compiled.
But when I tag just one or two critical functions in a class and one of those functions is the very first one defined in the class , it appears that every function in that class is jit compiled. But if one is not the first function then it behaves as expected.
I am not sure if this is intended or there is a bug in the jit compilation process for classes.
I did notice that each function sym seems to be tagged as gambas if or jit if.
Maybe Ben could give some guidance it improve usage of the fast tag for class function.
-- ~~~~ Brian
Attachment:
OpenPGP_0x78BFB26402F48419.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature