Hi Enrico,

> Are there real advantages in compiling with -gc3 (speed, size, ...)?

A short explanation:

Programatically, there are advantages for speed at the expense of bigger
file size. By compiling a PRG with -gc3, xHarbour virtual machine ( to
be exact: function hb_vmExecute() ) will be bypassed. IOW, PCODEs are no
longer analyzed via a switch-case construct. Under -gc3, PCODEs are
directly translated into variables to be fed into sub VM routines.

Andi


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to