[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gambas jit , Always compiles every function in a class if the very first function is tagged as fast
[Thread Prev] | [Thread Next]
- Subject: Re: Gambas jit , Always compiles every function in a class if the very first function is tagged as fast
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2025 18:57:38 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 14/06/2025 à 23:15, Brian G a écrit :
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.
The problem has been fixed by this commit: https://gitlab.com/gambas/gambas/-/commit/99c1cb8383b65d5e8a99955f65eb74fbbbc1a803
Regards, -- Benoît Minisini.
Gambas jit , Always compiles every function in a class if the very first function is tagged as fast | Brian G <brian@xxxxxxxxxxxxxxxx> |