Hi
There is the common statement that in order to optimise speed one should use 32bit DWORD variables rather than WORD or BYTE as counters etc.
In the case of PB9 which generates 32bit code and where one is using a 32 bit Windows on a 64bit CPU hardware system should one be using 32 bit or 64bit variables in order to optimize speed.
Then there is also the scenario where we have 32bit PB generated code running under 64bit windows on 64 bit hardware
My question basically is : Is the DWORD variable rule a function of the CPU or the operating system or the PB version.
Hedley
There is the common statement that in order to optimise speed one should use 32bit DWORD variables rather than WORD or BYTE as counters etc.
In the case of PB9 which generates 32bit code and where one is using a 32 bit Windows on a 64bit CPU hardware system should one be using 32 bit or 64bit variables in order to optimize speed.
Then there is also the scenario where we have 32bit PB generated code running under 64bit windows on 64 bit hardware
My question basically is : Is the DWORD variable rule a function of the CPU or the operating system or the PB version.
Hedley
Comment