You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
GDScript: Optimize non-constant for-range
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# GH-83293
|
||||
|
||||
func test():
|
||||
for x in range(1 << 31, (1 << 31) + 3):
|
||||
print(x)
|
||||
for x in range(1 << 62, (1 << 62) + 3):
|
||||
print(x)
|
||||
@@ -0,0 +1,7 @@
|
||||
GDTEST_OK
|
||||
2147483648
|
||||
2147483649
|
||||
2147483650
|
||||
4611686018427387904
|
||||
4611686018427387905
|
||||
4611686018427387906
|
||||
Reference in New Issue
Block a user