[fpc-pascal] Program efficiency

DougC doug at moosemail.net
Wed Nov 9 16:52:35 CET 2022


Maintaining understandable and readable code is often more important that runtime efficiency. Like others have said, there are likely many additional places you can address overall efficiency before dealing with these calculations.



Doug C.







---- On Wed, 09 Nov 2022 09:52:12 -0500 James Richters via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote ---




Sounds to me that if the compiler will probably insert temp variables anyway, then I might as well make my own and make it easier to understand later.

 

James



_______________________________________________ 
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org 
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20221109/195bf6bf/attachment.htm>


More information about the fpc-pascal mailing list