[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use FAST and UNSAVE ?


However, this should not be used to gain speed, unless there really isn't
any other way.
Please use profiler to see what is the bottleneck and show the code. I will
help you to optimize it in a better way.

Jussi

On Mon, Sep 21, 2026 at 10:42 PM Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
wrote:

> UNSAFE, not UNSAVE.
>
> Jussi
>
> On Mon, Sep 21, 2026 at 2:40 PM Claus Dietrich <claus.dietrich@xxxxxxxxxx>
> wrote:
>
>> I just tried to accelerate a Gambas app by using the keywords FAST and
>> UNSAVE.
>>
>> So I followed the documentation at https://gambaswiki.org/wiki/doc/jit
>> with this results:
>>
>> Using FAST at the beginning of a class is working well but when I added
>> the keyword UNSAVE I got the error "Unexpected 'UNSAVE'".
>>
>> Using FAST at the beginning of a selected sub or function declaration
>> also worked well but also here I got the error "Unexpected 'UNSAVE'"
>> when I added the keyword UNSAVE.
>>
>> The benchmark apps in the master source code didn't bring me further
>> because they don't contain any FAST and UNSAVE declarations.
>>
>> Where is the mistake? How can I use UNSAVE ?
>>
>> Best regards
>>
>> Claus
>>
>>
>>

References:
How to use FAST and UNSAVE ?Claus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: How to use FAST and UNSAVE ?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>