Hi,
How does the speed of JScript (Redirecting…) compare to Unity’s Javascript? I’m guessing Unity’s implementation is much faster, but you never know
Hi,
How does the speed of JScript (Redirecting…) compare to Unity’s Javascript? I’m guessing Unity’s implementation is much faster, but you never know
Tonio Loewald (“podperson” on the forums) has written a good overview on the wiki.
That shows the differences, but I’m asking specifically about performance.
JScript, just like JavaScript, is a dynamically typed language. Unity’s JavaScript uses type inference (static typing) whenever possible. This would be the major speed difference (Unity’s JavaScript being faster) I think.