¿How fast ZetScript is?

Common questions people asks and howtos
Post Reply
jespa007
Posts: 4
Joined: Mon Oct 16, 2017 3:21 pm

¿How fast ZetScript is?

Post by jespa007 » Tue Oct 31, 2017 8:31 pm

Can say is not too slow but also I cannot say is too fast,

For example, for this piece of code:

Code: Select all

var j=0;
for(var i=0; i < 10000000; i++){
 j=i*2;
} 
ZetScript it takes 1.2 seconds in linux. Other scripts goes faster. For example Lua takes only 0.4 seconds to perform the loop.

Post Reply