incredible speed improvement !

This forum is meant for questions and discussions about the X# language and tools
Post Reply
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am

incredible speed improvement !

Post by Karl-Heinz »

Guys,

i don´t know what´s going on under the hood, but the speed improvement is incredible !

Before the 2.0.0.8 release something like this took up to 2 seconds when it was excecuted the very first time. Now it's almost impossible to measure the time elapsed :woohoo:

ftime1 := seconds()
aSums := SELF:server:Sum({#Summe1})
ftime2 := seconds()

very good, very well done !

regards
Karl-Heinz
User avatar
Chris
Posts: 4562
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

incredible speed improvement !

Post by Chris »

Hi Karl-Heinz,

It's the macro compiler responsible for that! (the Sum() method code macro compiles the expression at runtime)
Not only it is now much faster in general, but it also has very low initial loading times. Wer'e glad you've noticed this!

Chris
Chris Pyrgas

XSharp Development Team test
chris(at)xsharp.eu
Post Reply