Great, thanks a lot Przemek.

Some other candidates for optimizations that sprang
to mind (after I wrote that NOTE unfortunately), are
the hb_bit*() functions. Not a priority, but they would
be useful, when using these functions in #defines
to not cause any additional runtime cost. If you agree
and have time, these would be also great IMO.
(Sorry for forgetting about these when writing my first
NOTE)

Brgds,
Viktor

On 2008.06.02., at 13:33, Przemyslaw Czerpak wrote:

2008-06-02 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
 * harbour/include/hbexprop.h
 * harbour/include/hbexprb.c
 * harbour/source/common/expropt2.c
   + added hb_compExprReducePower() and compile time optimization for:
        <NumConst1> ^ <NumConst2>
   + added compile time optimization for:
        <NumConst1> % <NumConst2>
     when <NumConst1> or <NumConst2> is not integer value
   NOTE: both optimizations are not Clipper compatible and disabled
         when -kc compiler switch is used

best regards
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to