On Thu, 26 Nov 2009, francesco perillo wrote:

Hi,

> I'm doing some refactoring on really old old code. I have some 1
> letter, no meaning, confusing  variable names...
> I'd like to know if there is a "cost" associated with using longer
> variable names in PUBLIC, PRIVATE and LOCAL.

If you are asking about runtime speed overhead caused by longer variable
names then there is no difference if you are using shorter or smaller
variables names. LOCAL variable names are not stored in final binaries
at all (with the exception to code emitted for debugger with -b switch)
and PUBLIC, PRIVATE, FILED variables are not accessed by name but using
pointers to symbol table so length of real names is unimportant.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to