Am 15.04.2019 um 08:29 schrieb Tomas Hajny:
On Mon, April 15, 2019 07:52, Bernd Oppolzer wrote:
.
.
On Samstag, 13. April 2019 22:30:55 CEST Alexey Tor. wrote:
.
.
Can FPC optimize it so it only reads s[i] once (to register), not 3
times?
.
.
True for New Stanford Pascal:
.
.
I fail to see how is this related to FPC or the question of the original
poster (who was explicitly asking about FPC). Could we stay on topic,
please?
Tomas
(one of FPC mailing list moderators)
well, I was hoping for an answer out of the FPC community
what FPC does to the different codings, so that the users can
get some guidelines out of it (for example: common subexpressions
in locigal expressions are not eliminated, so it is better to use the IN
syntax -
or maybe the other way round). My mails were meant to motivate this :-)
but so far only suggestions how to optimize at the source code level.
(and of course: because FPC is sort of inspiration for my work,
I would like to see what FPC does in this cases and to compare it
with what I have)
Sorry about that ...
Best regards
Bernd
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal