[Harbour] Optimization

Horodyski Marek (PZUZ) M.Horodyski at pzuzycie.com.pl
Tue May 12 07:51:12 EDT 2009


In my app one expression is very often done. 
Due to the saving of memory, important of information is in string, not
in array.
In xHarbour, this instruction was :

If  hb_isNumeric( l := tab_prg[ n]:Eval()) .and. tab_skok[ n] == '1'

In Harbour ( withot indexed strings) now I have :

If hb_isNumeric( l := tab_prg[ n]:Eval()) .and. StrPeek( tab_skok, n) ==
49 // 0x31

Speed of evaluation in Hanbour is 2 times faster than in xHarbour, but
my ask is, can I this more speed ?

Regards,
Marek Horodyski


More information about the Harbour mailing list