On Monday 15 September 2014 07:55:20 Sven Barth wrote: > > As you can see the expression p^ is only evaluated once in the TestWith > case while it's evaluated twice in the TestWithout one. So it's only > minimally faster in this example (one less memory access), but if you > use enough members of TTest it a more or less tight loop it might even > be noticeable. > Or if the reference is calculated for example in an array of record or a getter function.
Martin _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal