Offtopic: Math.floor(Math.random() * 500)
is the same as Std.random(500)
and '$value'
(or "" + value
) is usually faster than Std.string(value)
for numeric types
2 Likes
Offtopic: Math.floor(Math.random() * 500)
is the same as Std.random(500)
and '$value'
(or "" + value
) is usually faster than Std.string(value)
for numeric types
© 2018-2020 Haxe Foundation - Powered by Discourse