Modifying string length?_(re)

Wed, 30 Apr 1997 13:09:09 +0200 (MET DST)


According to Frank Heckenbach:
> 
> Hmmm... well, I could not see the effect. I wrote the following test program:
> [...]
> I compiled it with "-O3 -S". The resulting code contained two calls to
> _memcpy. [...]

Ah - I was wrong, sorry.  The string addition is optimized, but it is
done on a temporary variable, and the assignment to that guy is *not*
optimized.

Maybe this can be changed ... I will have a look at that.  (But not now.)

(* By the way:  Good news for all friends of schemata!  They might be
finished (except, of course, bugs) this week ... *)

Greetings,

    Peter

  Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer
peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201]
 maintainer GNU Pascal [970420] - http://home.pages.de/~gnu-pascal/ [970125]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es