Re: Speed: sprintf vs. & operator
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jan 07, 2003
- 475 views
On Tue, 7 Jan 2003 12:00:26 -0500, Robert Craig <rds at RapidEuphoria.com> wrote: >In Euphoria 2.4 alpha, the following runs 2.6x faster=20 >than it does in 2.3... > > fullName =3D fn & " " & mn & " " & ln Is that 2.3 running on your old PC?Nice one Rob! How on earth did you manage that? jc, if you really need it, you can get an additional 20% improvement in 2.3 with: fullName =3D fn & SP fullName &=3D mn fullName &=3D SP fullName &=3D ln As this takes better advantage of some optimisations in the 2.3 interpreter. I expect both forms will be the same speed in 2.4 Pete