wurstscript / WurstScript

Programming language and toolkit to create Warcraft III Maps
https://wurstlang.org
Apache License 2.0
224 stars 30 forks source link

UnitAnimations package doesn't build without optimizations #883

Closed Frotty closed 5 years ago

Frotty commented 5 years ago

Without optimizations (specifically .removeGarbage() function) the script is more than double the size (60k vs 26k lines) because it contains an almost 30k lines long function init_UnitAnimations which only sets local variables. Since these are >20k locals, it most likely hits the maximum locals allowed per function limit, which is around 14k as stated by @Cokemonkey11 .

I don#t even use the UnitAnimations package, but it is imported due to the public import from the Assets package.

function init_UnitAnimations takes nothing returns boolean
    local integer tuple_temp = 0
    local real tuple_temp_1 = 1.667
    local integer tuple_temp_2 = 1
    local real tuple_temp_3 = 3.333
    local integer tuple_temp_4 = 2
    local real tuple_temp_5 = 1.667
    local integer tuple_temp_6 = 0
    local real tuple_temp_7 = 1.834
    local integer tuple_temp_8 = 0
    local real tuple_temp_9 = 3.333
    local integer tuple_temp_10 = 0
    local real tuple_temp_11 = 1.666
    local integer tuple_temp_12 = 1
    local real tuple_temp_13 = 1.0
    local integer tuple_temp_14 = 0
    local real tuple_temp_15 = 0.967
    local integer tuple_temp_16 = 1
    local real tuple_temp_17 = 7.767
    local integer tuple_temp_18 = 0
    local real tuple_temp_19 = 1.5
    local integer tuple_temp_20 = 1
    local real tuple_temp_21 = 3.0
    local integer tuple_temp_22 = 2
    local real tuple_temp_23 = 0.7
    local integer tuple_temp_24 = 3
    local real tuple_temp_25 = 2.0
    local integer tuple_temp_26 = 4
    local real tuple_temp_27 = 1.0
    local integer tuple_temp_28 = 5
    local real tuple_temp_29 = 1.0
    local integer tuple_temp_30 = 6
    local real tuple_temp_31 = 1.0
    local integer tuple_temp_32 = 7
    local real tuple_temp_33 = 1.0
    local integer tuple_temp_34 = 8
    local real tuple_temp_35 = 4.267
    local integer tuple_temp_36 = 9
    local real tuple_temp_37 = 2.167
    local integer tuple_temp_38 = 10
    local real tuple_temp_39 = 60.0
    local integer tuple_temp_40 = 11
    local real tuple_temp_41 = 60.0
    local integer tuple_temp_42 = 0
    local real tuple_temp_43 = 1.166
    local integer tuple_temp_44 = 1
    local real tuple_temp_45 = 2.0
    local integer tuple_temp_46 = 2
    local real tuple_temp_47 = 3.0
    local integer tuple_temp_48 = 3
    local real tuple_temp_49 = 3.7
    local integer tuple_temp_50 = 4
    local real tuple_temp_51 = 3.233
    local integer tuple_temp_52 = 5
    local real tuple_temp_53 = 1.0
    local integer tuple_temp_54 = 6
    local real tuple_temp_55 = 1.0
    local integer tuple_temp_56 = 7
    local real tuple_temp_57 = 0.833
    local integer tuple_temp_58 = 8
    local real tuple_temp_59 = 0.034
    local integer tuple_temp_60 = 9
    local real tuple_temp_61 = 3.734
    local integer tuple_temp_62 = 10
    local real tuple_temp_63 = 1.133
    local integer tuple_temp_64 = 11
    local real tuple_temp_65 = 60.0
    local integer tuple_temp_66 = 12
    local real tuple_temp_67 = 60.0
    local integer tuple_temp_68 = 0
    local real tuple_temp_69 = 4.667
    local integer tuple_temp_70 = 0
    local real tuple_temp_71 = 0.367
    local integer tuple_temp_72 = 1
    local real tuple_temp_73 = 0.366
    local integer tuple_temp_74 = 2
    local real tuple_temp_75 = 0.367
    local integer tuple_temp_76 = 0
    local real tuple_temp_77 = 60.0
    local integer tuple_temp_78 = 0
    local real tuple_temp_79 = 0.333
    local integer tuple_temp_80 = 1
    local real tuple_temp_81 = 0.333
    local integer tuple_temp_82 = 2
    local real tuple_temp_83 = 0.667
    local integer tuple_temp_84 = 3
    local real tuple_temp_85 = 0.833
    local integer tuple_temp_86 = 0
    local real tuple_temp_87 = 3.333
    local integer tuple_temp_88 = 0
    local real tuple_temp_89 = 3.333
    local integer tuple_temp_90 = 1
    local real tuple_temp_91 = 3.333
    local integer tuple_temp_92 = 0
    local real tuple_temp_93 = 1.267
    local integer tuple_temp_94 = 1
    local real tuple_temp_95 = 2.533
    local integer tuple_temp_96 = 2
    local real tuple_temp_97 = 3.267
    local integer tuple_temp_98 = 3
    local real tuple_temp_99 = 2.534
    local integer tuple_temp_100 = 4
    local real tuple_temp_101 = 0.966
    local integer tuple_temp_102 = 5
    local real tuple_temp_103 = 0.9
    local integer tuple_temp_104 = 6
    local real tuple_temp_105 = 1.133
    local integer tuple_temp_106 = 0
    local real tuple_temp_107 = 4.667
    local integer tuple_temp_108 = 0
    local real tuple_temp_109 = 3.333
    local integer tuple_temp_110 = 0
    local real tuple_temp_111 = 60.0
    local integer tuple_temp_112 = 0
    local real tuple_temp_113 = 1.467
    local integer tuple_temp_114 = 1
    local real tuple_temp_115 = 2.934
    local integer tuple_temp_116 = 2
    local real tuple_temp_117 = 1.334
    local integer tuple_temp_118 = 3
    local real tuple_temp_119 = 1.0
    local integer tuple_temp_120 = 4
    local real tuple_temp_121 = 2.267
    local integer tuple_temp_122 = 5
    local real tuple_temp_123 = 1.567
    local integer tuple_temp_124 = 6
    local real tuple_temp_125 = 60.0
    local integer tuple_temp_126 = 7
    local real tuple_temp_127 = 60.0
    local integer tuple_temp_128 = 0
    local real tuple_temp_129 = 1.0
    local integer tuple_temp_130 = 1
    local real tuple_temp_131 = 3.0
    local integer tuple_temp_132 = 2
    local real tuple_temp_133 = 1.0
    local integer tuple_temp_134 = 3
    local real tuple_temp_135 = 3.034
    local integer tuple_temp_136 = 4
    local real tuple_temp_137 = 1.0
    local integer tuple_temp_138 = 5
    local real tuple_temp_139 = 1.0
    local integer tuple_temp_140 = 6
    local real tuple_temp_141 = 60.0
    local integer tuple_temp_142 = 7
    local real tuple_temp_143 = 60.0
    local integer tuple_temp_144 = 0
    local real tuple_temp_145 = 0.467
    local integer tuple_temp_146 = 1
    local real tuple_temp_147 = 0.466
    local integer tuple_temp_148 = 0
    local real tuple_temp_149 = 3.333
    local integer tuple_temp_150 = 0
    local real tuple_temp_151 = 1.666
    local integer tuple_temp_152 = 1
    local real tuple_temp_153 = 3.333
    local integer tuple_temp_154 = 2
    local real tuple_temp_155 = 3.333
    local integer tuple_temp_156 = 3
    local real tuple_temp_157 = 3.333
    local integer tuple_temp_158 = 4
    local real tuple_temp_159 = 0.666
    local integer tuple_temp_160 = 5
    local real tuple_temp_161 = 1.0
    local integer tuple_temp_162 = 6
    local real tuple_temp_163 = 1.0
    local integer tuple_temp_164 = 7
    local real tuple_temp_165 = 1.334
    local integer tuple_temp_166 = 8
    local real tuple_temp_167 = 0.6
    local integer tuple_temp_168 = 9
    local real tuple_temp_169 = 0.7
    local integer tuple_temp_170 = 10
    local real tuple_temp_171 = 2.5
    local integer tuple_temp_172 = 11
    local real tuple_temp_173 = 1.334
    local integer tuple_temp_174 = 12
    local real tuple_temp_175 = 0.833
    local integer tuple_temp_176 = 0
    local real tuple_temp_177 = 1.967
    local integer tuple_temp_178 = 1
    local real tuple_temp_179 = 0.833
    local integer tuple_temp_180 = 2
    local real tuple_temp_181 = 60.0
    local integer tuple_temp_182 = 0
    local real tuple_temp_183 = 1.367
    local integer tuple_temp_184 = 1
    local real tuple_temp_185 = 3.334
    local integer tuple_temp_186 = 2
    local real tuple_temp_187 = 0.9
    local integer tuple_temp_188 = 3
    local real tuple_temp_189 = 1.667
    local integer tuple_temp_190 = 4
    local real tuple_temp_191 = 0.666
    local integer tuple_temp_192 = 5
    local real tuple_temp_193 = 2.733
    local integer tuple_temp_194 = 6
    local real tuple_temp_195 = 0.667
    local integer tuple_temp_196 = 7
    local real tuple_temp_197 = 0.5
    local integer tuple_temp_198 = 8
    local real tuple_temp_199 = 0.867
    local integer tuple_temp_200 = 9
    local real tuple_temp_201 = 2.667
    local integer tuple_temp_202 = 10
    local real tuple_temp_203 = 60.0
    local integer tuple_temp_204 = 11
    local real tuple_temp_205 = 60.0
    local integer tuple_temp_206 = 0
    local real tuple_temp_207 = 3.333
    local integer tuple_temp_208 = 0
    local real tuple_temp_209 = 1.167
    local integer tuple_temp_210 = 1
    local real tuple_temp_211 = 1.667
    local integer tuple_temp_212 = 0
    local real tuple_temp_213 = 3.333
    local integer tuple_temp_214 = 0
    local real tuple_temp_215 = 3.333
    local integer tuple_temp_216 = 0
    local real tuple_temp_217 = 3.0
    local integer tuple_temp_218 = 1
    local real tuple_temp_219 = 3.0
    local integer tuple_temp_220 = 0
    local real tuple_temp_221 = 0.667
    local integer tuple_temp_222 = 1
    local real tuple_temp_223 = 2.0
    local integer tuple_temp_224 = 0
    local real tuple_temp_225 = 3.333
    local integer tuple_temp_226 = 1
    local real tuple_temp_227 = 3.334
    local integer tuple_temp_228 = 0
    local real tuple_temp_229 = 4.0
    local integer tuple_temp_230 = 0
    local real tuple_temp_231 = 1.5
    local integer tuple_temp_232 = 1
    local real tuple_temp_233 = 1.5
    local integer tuple_temp_234 = 2
    local real tuple_temp_235 = 4.5
    local integer tuple_temp_236 = 3
    local real tuple_temp_237 = 3.0
    local integer tuple_temp_238 = 4
    local real tuple_temp_239 = 1.867
    local integer tuple_temp_240 = 5
    local real tuple_temp_241 = 1.866
    local integer tuple_temp_242 = 6
    local real tuple_temp_243 = 1.0
    local integer tuple_temp_244 = 7
    local real tuple_temp_245 = 1.5
    local integer tuple_temp_246 = 8
    local real tuple_temp_247 = 1.667
    local integer tuple_temp_248 = 9
    local real tuple_temp_249 = 2.0
    local integer tuple_temp_250 = 0
    local real tuple_temp_251 = 3.333
    local integer tuple_temp_252 = 0
    local real tuple_temp_253 = 3.333
    local integer tuple_temp_254 = 0
    local real tuple_temp_255 = 10.667
    local integer tuple_temp_256 = 0
    local real tuple_temp_257 = 1.667
    local integer tuple_temp_258 = 0
    local real tuple_temp_259 = 3.333
    local integer tuple_temp_260 = 0
    local real tuple_temp_261 = 1.0
    local integer tuple_temp_262 = 1
    local real tuple_temp_263 = 0.3
    local integer tuple_temp_264 = 2
    local real tuple_temp_265 = 1.5
    local integer tuple_temp_266 = 3
    local real tuple_temp_267 = 3.0
    local integer tuple_temp_268 = 4
    local real tuple_temp_269 = 2.0
    local integer tuple_temp_270 = 0
    local real tuple_temp_271 = 3.333
    local integer tuple_temp_272 = 0
    local real tuple_temp_273 = 6.666
    local integer tuple_temp_274 = 1
    local real tuple_temp_275 = 1.667
    local integer tuple_temp_276 = 0
    local real tuple_temp_277 = 0.5
    local integer tuple_temp_278 = 1
    local real tuple_temp_279 = 3.8
    local integer tuple_temp_280 = 2
    local real tuple_temp_281 = 0.633
    local integer tuple_temp_282 = 0
    local real tuple_temp_283 = 20.0
    local integer tuple_temp_284 = 1
    local real tuple_temp_285 = 20.0
    local integer tuple_temp_286 = 2
    local real tuple_temp_287 = 20.0
    local integer tuple_temp_288 = 3
    local real tuple_temp_289 = 20.0
    local integer tuple_temp_290 = 4
    local real tuple_temp_291 = 20.0
    local integer tuple_temp_292 = 0
    local real tuple_temp_293 = 1.5
    local integer tuple_temp_294 = 1
    local real tuple_temp_295 = 2.934
    local integer tuple_temp_296 = 2
    local real tuple_temp_297 = 2.933
    local integer tuple_temp_298 = 3
    local real tuple_temp_299 = 1.833
    local integer tuple_temp_300 = 4
    local real tuple_temp_301 = 1.0
    local integer tuple_temp_302 = 5
    local real tuple_temp_303 = 2.0
    local integer tuple_temp_304 = 6
    local real tuple_temp_305 = 2.334
    local integer tuple_temp_306 = 7
    local real tuple_temp_307 = 3.333
    local integer tuple_temp_308 = 8
    local real tuple_temp_309 = 1.1
    local integer tuple_temp_310 = 9
    local real tuple_temp_311 = 1.1
    local integer tuple_temp_312 = 0
    local real tuple_temp_313 = 0.834
    local integer tuple_temp_314 = 1
    local real tuple_temp_315 = 1.0
    local integer tuple_temp_316 = 2
    local real tuple_temp_317 = 1.0
    local integer tuple_temp_318 = 3
    local real tuple_temp_319 = 1.667
    local integer tuple_temp_320 = 4
    local real tuple_temp_321 = 1.334
    local integer tuple_temp_322 = 5
    local real tuple_temp_323 = 1.667
    local integer tuple_temp_324 = 6
    local real tuple_temp_325 = 2.5
    local integer tuple_temp_326 = 7
    local real tuple_temp_327 = 0.334
    local integer tuple_temp_328 = 8
    local real tuple_temp_329 = 0.833
    local integer tuple_temp_330 = 9
    local real tuple_temp_331 = 0.833
    local integer tuple_temp_332 = 0
    local real tuple_temp_333 = 60.0
    local integer tuple_temp_334 = 1
    local real tuple_temp_335 = 3.333
    local integer tuple_temp_336 = 2
    local real tuple_temp_337 = 3.333
    local integer tuple_temp_338 = 3
    local real tuple_temp_339 = 3.334
    local integer tuple_temp_340 = 4
    local real tuple_temp_341 = 0.833
    local integer tuple_temp_342 = 5
    local real tuple_temp_343 = 60.0
    local integer tuple_temp_344 = 0
    local real tuple_temp_345 = 0.834
    local integer tuple_temp_346 = 1
    local real tuple_temp_347 = 1.0
    local integer tuple_temp_348 = 2
    local real tuple_temp_349 = 1.0
    local integer tuple_temp_350 = 3
    local real tuple_temp_351 = 1.667
    local integer tuple_temp_352 = 4
    local real tuple_temp_353 = 1.334
    local integer tuple_temp_354 = 5
    local real tuple_temp_355 = 2.5
    local integer tuple_temp_356 = 0
    local real tuple_temp_357 = 60.0
    local integer tuple_temp_358 = 1
    local real tuple_temp_359 = 60.0
    local integer tuple_temp_360 = 0
    local real tuple_temp_361 = 61.1
    local integer tuple_temp_362 = 0
    local real tuple_temp_363 = 1.0
    local integer tuple_temp_364 = 1
    local real tuple_temp_365 = 0.3
    local integer tuple_temp_366 = 2
    local real tuple_temp_367 = 1.5
    local integer tuple_temp_368 = 3
    local real tuple_temp_369 = 3.0
    local integer tuple_temp_370 = 4
    local real tuple_temp_371 = 2.0
    local integer tuple_temp_372 = 0
    local real tuple_temp_373 = 3.333
    local integer tuple_temp_374 = 0
    local real tuple_temp_375 = 1.0
    local integer tuple_temp_376 = 1
    local real tuple_temp_377 = 1.0
    local integer tuple_temp_378 = 2
    local real tuple_temp_379 = 1.334
    local integer tuple_temp_380 = 3
    local real tuple_temp_381 = 1.667
    local integer tuple_temp_382 = 4
    local real tuple_temp_383 = 1.0
    local integer tuple_temp_384 = 5
    local real tuple_temp_385 = 1.667
    local integer tuple_temp_386 = 6
    local real tuple_temp_387 = 60.0
    local integer tuple_temp_388 = 7
    local real tuple_temp_389 = 60.0
    local integer tuple_temp_390 = 8
    local real tuple_temp_391 = 1.0
    local integer tuple_temp_392 = 0
    local real tuple_temp_393 = 1.666
    local integer tuple_temp_394 = 1
    local real tuple_temp_395 = 3.333
    local integer tuple_temp_396 = 2
    local real tuple_temp_397 = 3.333
    local integer tuple_temp_398 = 3
    local real tuple_temp_399 = 3.333
    local integer tuple_temp_400 = 4
    local real tuple_temp_401 = 0.666
    local integer tuple_temp_402 = 5
    local real tuple_temp_403 = 1.0
    local integer tuple_temp_404 = 6
    local real tuple_temp_405 = 1.334
    local integer tuple_temp_406 = 7
    local real tuple_temp_407 = 1.0
    local integer tuple_temp_408 = 8
    local real tuple_temp_409 = 1.334
    local integer tuple_temp_410 = 9
    local real tuple_temp_411 = 2.133
    local integer tuple_temp_412 = 0
    local real tuple_temp_413 = 2.5
    local integer tuple_temp_414 = 1
    local real tuple_temp_415 = 0.333
    local integer tuple_temp_416 = 2
    local real tuple_temp_417 = 2.333
    local integer tuple_temp_418 = 0
    local real tuple_temp_419 = 1.0
    local integer tuple_temp_420 = 1
    local real tuple_temp_421 = 4.067
    local integer tuple_temp_422 = 2
    local real tuple_temp_423 = 1.833
    local integer tuple_temp_424 = 3
    local real tuple_temp_425 = 5.467
    local integer tuple_temp_426 = 4
    local real tuple_temp_427 = 0.833
    local integer tuple_temp_428 = 5
    local real tuple_temp_429 = 0.833
    local integer tuple_temp_430 = 6
    local real tuple_temp_431 = 2.333
    local integer tuple_temp_432 = 7
    local real tuple_temp_433 = 60.0
    local integer tuple_temp_434 = 8
    local real tuple_temp_435 = 60.0
    local integer tuple_temp_436 = 9
    local real tuple_temp_437 = 1.066
    local integer tuple_temp_438 = 10
    local real tuple_temp_439 = 0.534
    local integer tuple_temp_440 = 11
    local real tuple_temp_441 = 2.667
    local integer tuple_temp_442 = 12
    local real tuple_temp_443 = 3.333
    local integer tuple_temp_444 = 0
    local real tuple_temp_445 = 1.5
    local integer tuple_temp_446 = 1
    local real tuple_temp_447 = 2.933
    local integer tuple_temp_448 = 2
    local real tuple_temp_449 = 1.334
    local integer tuple_temp_450 = 3
    local real tuple_temp_451 = 2.0
    local integer tuple_temp_452 = 4
    local real tuple_temp_453 = 3.333
    local integer tuple_temp_454 = 0
    local real tuple_temp_455 = 8.0
    local integer tuple_temp_456 = 1
    local real tuple_temp_457 = 8.0
    local integer tuple_temp_458 = 0
    local real tuple_temp_459 = 60.0
    local integer tuple_temp_460 = 1
    local real tuple_temp_461 = 1.666
    local integer tuple_temp_462 = 2
    local real tuple_temp_463 = 3.0
    local integer tuple_temp_464 = 3
    local real tuple_temp_465 = 1.667
    local integer tuple_temp_466 = 0
    local real tuple_temp_467 = 6.667
    local integer tuple_temp_468 = 1
    local real tuple_temp_469 = 0.667
    local integer tuple_temp_470 = 2
    local real tuple_temp_471 = 3.333
    local integer tuple_temp_472 = 0
    local real tuple_temp_473 = 1.833
    local integer tuple_temp_474 = 1
    local real tuple_temp_475 = 0.1
    local integer tuple_temp_476 = 0
    local real tuple_temp_477 = 1.333
    local integer tuple_temp_478 = 1
    local real tuple_temp_479 = 1.333
    local integer tuple_temp_480 = 2
    local real tuple_temp_481 = 1.333
    local integer tuple_temp_482 = 3
    local real tuple_temp_483 = 1.333
    local integer tuple_temp_484 = 0
    local real tuple_temp_485 = 3.333
    local integer tuple_temp_486 = 0
    local real tuple_temp_487 = 0.333
    local integer tuple_temp_488 = 1
    local real tuple_temp_489 = 0.333
    local integer tuple_temp_490 = 2
    local real tuple_temp_491 = 2.0
    local integer tuple_temp_492 = 3
    local real tuple_temp_493 = 4.0
    local integer tuple_temp_494 = 0
    local real tuple_temp_495 = 1.0
    local integer tuple_temp_496 = 1
    local real tuple_temp_497 = 0.3
    local integer tuple_temp_498 = 2
    local real tuple_temp_499 = 1.5
    local integer tuple_temp_500 = 3
    local real tuple_temp_501 = 60.0
    local integer tuple_temp_502 = 0
    local real tuple_temp_503 = 3.333
    local integer tuple_temp_504 = 0
    local real tuple_temp_505 = 1.334
    local integer tuple_temp_506 = 1
    local real tuple_temp_507 = 3.333
    local integer tuple_temp_508 = 2
    local real tuple_temp_509 = 2.067
    local integer tuple_temp_510 = 3
    local real tuple_temp_511 = 1.6
    local integer tuple_temp_512 = 4
    local real tuple_temp_513 = 1.2
    local integer tuple_temp_514 = 5
    local real tuple_temp_515 = 0.933
    local integer tuple_temp_516 = 6
    local real tuple_temp_517 = 0.933
    local integer tuple_temp_518 = 7
    local real tuple_temp_519 = 1.0
    local integer tuple_temp_520 = 8
    local real tuple_temp_521 = 1.867
    local integer tuple_temp_522 = 9
    local real tuple_temp_523 = 60.0
    local integer tuple_temp_524 = 10
    local real tuple_temp_525 = 60.0
    local integer tuple_temp_526 = 0
    local real tuple_temp_527 = 3.333
    local integer tuple_temp_528 = 0
    local real tuple_temp_529 = 3.333
    local integer tuple_temp_530 = 0
    local real tuple_temp_531 = 3.333
    local integer tuple_temp_532 = 0
    local real tuple_temp_533 = 1.334
    local integer tuple_temp_534 = 1
    local real tuple_temp_535 = 1.0
    local integer tuple_temp_536 = 0
    local real tuple_temp_537 = 1.0
    local integer tuple_temp_538 = 1
    local real tuple_temp_539 = 0.3
    local integer tuple_temp_540 = 2
    local real tuple_temp_541 = 1.5
    local integer tuple_temp_542 = 3
    local real tuple_temp_543 = 60.0
    local integer tuple_temp_544 = 0
    local real tuple_temp_545 = 4.266
    local integer tuple_temp_546 = 0
    local real tuple_temp_547 = 2.3
    local integer tuple_temp_548 = 0
    local real tuple_temp_549 = 1.1
    local integer tuple_temp_550 = 0
    local real tuple_temp_551 = 0.667
    local integer tuple_temp_552 = 1
    local real tuple_temp_553 = 0.667
    local integer tuple_temp_554 = 2
    local real tuple_temp_555 = 0.667
    local integer tuple_temp_556 = 0
    local real tuple_temp_557 = 6.933
    local integer tuple_temp_558 = 1
    local real tuple_temp_559 = 1.233
    local integer tuple_temp_560 = 0
    local real tuple_temp_561 = 3.333
    local integer tuple_temp_562 = 0
    local real tuple_temp_563 = 3.0
    local integer tuple_temp_564 = 1
    local real tuple_temp_565 = 1.0
    local integer tuple_temp_566 = 2
    local real tuple_temp_567 = 3.0
    local integer tuple_temp_568 = 3
    local real tuple_temp_569 = 3.0
    local integer tuple_temp_570 = 4
    local real tuple_temp_571 = 1.0
    local integer tuple_temp_572 = 5
    local real tuple_temp_573 = 2.0
    local integer tuple_temp_574 = 6
    local real tuple_temp_575 = 1.667
    local integer tuple_temp_576 = 0
    local real tuple_temp_577 = 60.0
    local integer tuple_temp_578 = 0
    local real tuple_temp_579 = 0.967
    local integer tuple_temp_580 = 0
    local real tuple_temp_581 = 2.333
    local integer tuple_temp_582 = 0
    local real tuple_temp_583 = 3.333
    local integer tuple_temp_584 = 0
    local real tuple_temp_585 = 1.967
    local integer tuple_temp_586 = 0
    local real tuple_temp_587 = 3.333
    local integer tuple_temp_588 = 0
    local real tuple_temp_589 = 60.0
    local integer tuple_temp_590 = 1
    local real tuple_temp_591 = 0.5
    local integer tuple_temp_592 = 0
    local real tuple_temp_593 = 1.334
    local integer tuple_temp_594 = 1
    local real tuple_temp_595 = 0.634
    local integer tuple_temp_596 = 2
    local real tuple_temp_597 = 1.0
    local integer tuple_temp_598 = 3
    local real tuple_temp_599 = 1.667
    local integer tuple_temp_600 = 4
    local real tuple_temp_601 = 60.0
    local integer tuple_temp_602 = 5
    local real tuple_temp_603 = 60.0
    local integer tuple_temp_604 = 6
    local real tuple_temp_605 = 2.666
    local integer tuple_temp_606 = 7
    local real tuple_temp_607 = 1.0
    local integer tuple_temp_608 = 8
    local real tuple_temp_609 = 1.0
    local integer tuple_temp_610 = 0
    local real tuple_temp_611 = 60.0
    local integer tuple_temp_612 = 1
    local real tuple_temp_613 = 1.034
    local integer tuple_temp_614 = 2
    local real tuple_temp_615 = 2.267
    local integer tuple_temp_616 = 3
    local real tuple_temp_617 = 60.0
    local integer tuple_temp_618 = 4
    local real tuple_temp_619 = 8.333
    local integer tuple_temp_620 = 0
    local real tuple_temp_621 = 1.5
    local integer tuple_temp_622 = 1
    local real tuple_temp_623 = 1.5
    local integer tuple_temp_624 = 2
    local real tuple_temp_625 = 2.933
    local integer tuple_temp_626 = 3
    local real tuple_temp_627 = 2.933
    local integer tuple_temp_628 = 4
    local real tuple_temp_629 = 1.833
    local integer tuple_temp_630 = 5
    local real tuple_temp_631 = 1.0
    local integer tuple_temp_632 = 6
    local real tuple_temp_633 = 2.0
    local integer tuple_temp_634 = 7
    local real tuple_temp_635 = 2.333
    local integer tuple_temp_636 = 8
    local real tuple_temp_637 = 3.333
    local integer tuple_temp_638 = 9
    local real tuple_temp_639 = 1.1
    local integer tuple_temp_640 = 10
    local real tuple_temp_641 = 1.1
    local integer tuple_temp_642 = 0
    local real tuple_temp_643 = 1.166
    local integer tuple_temp_644 = 1
    local real tuple_temp_645 = 2.0
    local integer tuple_temp_646 = 2
    local real tuple_temp_647 = 3.0
    local integer tuple_temp_648 = 3
    local real tuple_temp_649 = 3.7
    local integer tuple_temp_650 = 4
    local real tuple_temp_651 = 3.233
    local integer tuple_temp_652 = 5
    local real tuple_temp_653 = 1.334
    local integer tuple_temp_654 = 6
    local real tuple_temp_655 = 1.334
    local integer tuple_temp_656 = 7
    local real tuple_temp_657 = 1.333
    local integer tuple_temp_658 = 8
    local real tuple_temp_659 = 0.833
    local integer tuple_temp_660 = 9
    local real tuple_temp_661 = 2.1
    local integer tuple_temp_662 = 10
    local real tuple_temp_663 = 0.034
    local integer tuple_temp_664 = 11
    local real tuple_temp_665 = 3.734
    local integer tuple_temp_666 = 12
    local real tuple_temp_667 = 1.133
    local integer tuple_temp_668 = 0
    local real tuple_temp_669 = 1.0
    local integer tuple_temp_670 = 1
    local real tuple_temp_671 = 4.0
    local integer tuple_temp_672 = 2
    local real tuple_temp_673 = 4.0
    local integer tuple_temp_674 = 0
    local real tuple_temp_675 = 3.333
    local integer tuple_temp_676 = 0
    local real tuple_temp_677 = 1.333
    local integer tuple_temp_678 = 1
    local real tuple_temp_679 = 0.667
    local integer tuple_temp_680 = 0
    local real tuple_temp_681 = 3.333
    local integer tuple_temp_682 = 0
    local real tuple_temp_683 = 0.666
    local integer tuple_temp_684 = 1
    local real tuple_temp_685 = 2.666
    local integer tuple_temp_686 = 2
    local real tuple_temp_687 = 1.0
    local integer tuple_temp_688 = 3
    local real tuple_temp_689 = 2.2
    local integer tuple_temp_690 = 4
    local real tuple_temp_691 = 60.0
    local integer tuple_temp_692 = 5
    local real tuple_temp_693 = 1.0
    local integer tuple_temp_694 = 6
    local real tuple_temp_695 = 1.167
    local integer tuple_temp_696 = 7
    local real tuple_temp_697 = 2.0
    local integer tuple_temp_698 = 8
    local real tuple_temp_699 = 60.0
    local integer tuple_temp_700 = 0
    local real tuple_temp_701 = 1.5
    local integer tuple_temp_702 = 1
    local real tuple_temp_703 = 3.0
    local integer tuple_temp_704 = 2
    local real tuple_temp_705 = 0.7
    local integer tuple_temp_706 = 3
    local real tuple_temp_707 = 2.0
    local integer tuple_temp_708 = 4
    local real tuple_temp_709 = 1.0
    local integer tuple_temp_710 = 5
    local real tuple_temp_711 = 1.0
    local integer tuple_temp_712 = 6
    local real tuple_temp_713 = 1.0
    local integer tuple_temp_714 = 7
    local real tuple_temp_715 = 1.0
    local integer tuple_temp_716 = 8
    local real tuple_temp_717 = 4.267
    local integer tuple_temp_718 = 9
    local real tuple_temp_719 = 2.167
    local integer tuple_temp_720 = 10
    local real tuple_temp_721 = 60.0
    local integer tuple_temp_722 = 11
    local real tuple_temp_723 = 60.0
    local integer tuple_temp_724 = 0
    local real tuple_temp_725 = 1.334
    local integer tuple_temp_726 = 1
    local real tuple_temp_727 = 1.0
    local integer tuple_temp_728 = 2
    local real tuple_temp_729 = 0.833
    local integer tuple_temp_730 = 3
    local real tuple_temp_731 = 1.0
    local integer tuple_temp_732 = 4
    local real tuple_temp_733 = 2.667
    local integer tuple_temp_734 = 5
    local real tuple_temp_735 = 2.666
    local integer tuple_temp_736 = 6
    local real tuple_temp_737 = 60.0
    local integer tuple_temp_738 = 7
    local real tuple_temp_739 = 60.0
    local integer tuple_temp_740 = 0
    local real tuple_temp_741 = 3.333
    local integer tuple_temp_742 = 0
    local real tuple_temp_743 = 3.333
    local integer tuple_temp_744 = 0
    local real tuple_temp_745 = 1.666
    local integer tuple_temp_746 = 1
    local real tuple_temp_747 = 3.333
    local integer tuple_temp_748 = 2
    local real tuple_temp_749 = 3.333
    local integer tuple_temp_750 = 3
    local real tuple_temp_751 = 3.333
    local integer tuple_temp_752 = 4
    local real tuple_temp_753 = 1.0
    local integer tuple_temp_754 = 5
    local real tuple_temp_755 = 1.0
    local integer tuple_temp_756 = 6
    local real tuple_temp_757 = 1.334
    local integer tuple_temp_758 = 7
    local real tuple_temp_759 = 1.267
    local integer tuple_temp_760 = 8
    local real tuple_temp_761 = 2.133
    local integer tuple_temp_762 = 9
    local real tuple_temp_763 = 0.033
    local integer tuple_temp_764 = 0
    local real tuple_temp_765 = 0.833
    local integer tuple_temp_766 = 0
    local real tuple_temp_767 = 0.134
    local integer tuple_temp_768 = 1
    local real tuple_temp_769 = 0.5
    local integer tuple_temp_770 = 2
    local real tuple_temp_771 = 0.167
    local integer tuple_temp_772 = 3
    local real tuple_temp_773 = 60.0
    local integer tuple_temp_774 = 0
    local real tuple_temp_775 = 2.0
    local integer tuple_temp_776 = 0
    local real tuple_temp_777 = 3.0
    local integer tuple_temp_778 = 1
    local real tuple_temp_779 = 5.0
    local integer tuple_temp_780 = 0
    local real tuple_temp_781 = 1.334
    local integer tuple_temp_782 = 1
    local real tuple_temp_783 = 0.033
    local integer tuple_temp_784 = 2
    local real tuple_temp_785 = 0.5
    local integer tuple_temp_786 = 0
    local real tuple_temp_787 = 3.3
    local integer tuple_temp_788 = 1
    local real tuple_temp_789 = 0.266
    local integer tuple_temp_790 = 0
    local real tuple_temp_791 = 3.0
    local integer tuple_temp_792 = 1
    local real tuple_temp_793 = 3.0
    local integer tuple_temp_794 = 2
    local real tuple_temp_795 = 6.034
    local integer tuple_temp_796 = 3
    local real tuple_temp_797 = 2.0
    local integer tuple_temp_798 = 4
    local real tuple_temp_799 = 2.0
    local integer tuple_temp_800 = 5
    local real tuple_temp_801 = 2.0
    local integer tuple_temp_802 = 0
    local real tuple_temp_803 = 1.5
    local integer tuple_temp_804 = 1
    local real tuple_temp_805 = 2.5
    local integer tuple_temp_806 = 2
    local real tuple_temp_807 = 2.333
    local integer tuple_temp_808 = 3
    local real tuple_temp_809 = 5.267
    local integer tuple_temp_810 = 4
    local real tuple_temp_811 = 1.0
    local integer tuple_temp_812 = 5
    local real tuple_temp_813 = 1.0
    local integer tuple_temp_814 = 6
    local real tuple_temp_815 = 0.8
    local integer tuple_temp_816 = 7
    local real tuple_temp_817 = 1.0
    local integer tuple_temp_818 = 8
    local real tuple_temp_819 = 1.1
    local integer tuple_temp_820 = 9
    local real tuple_temp_821 = 3.034
    local integer tuple_temp_822 = 10
    local real tuple_temp_823 = 60.0
    local integer tuple_temp_824 = 11
    local real tuple_temp_825 = 1.0
    local integer tuple_temp_826 = 12
    local real tuple_temp_827 = 60.0
    local integer tuple_temp_828 = 0
    local real tuple_temp_829 = 0.967
    local integer tuple_temp_830 = 0
    local real tuple_temp_831 = 3.333
    local integer tuple_temp_832 = 0
    local real tuple_temp_833 = 0.667
    local integer tuple_temp_834 = 1
    local real tuple_temp_835 = 2.0
    local integer tuple_temp_836 = 0
    local real tuple_temp_837 = 0.567
    local integer tuple_temp_838 = 1
    local real tuple_temp_839 = 2.833
    local integer tuple_temp_840 = 2
    local real tuple_temp_841 = 3.333
    local integer tuple_temp_842 = 3
    local real tuple_temp_843 = 3.666
    local integer tuple_temp_844 = 4
    local real tuple_temp_845 = 1.933
    local integer tuple_temp_846 = 5
    local real tuple_temp_847 = 1.1
    local integer tuple_temp_848 = 6
    local real tuple_temp_849 = 1.067
    local integer tuple_temp_850 = 7
    local real tuple_temp_851 = 5.1
    local integer tuple_temp_852 = 8
    local real tuple_temp_853 = 60.0
    local integer tuple_temp_854 = 9
    local real tuple_temp_855 = 0.567
    local integer tuple_temp_856 = 10
    local real tuple_temp_857 = 2.833
    local integer tuple_temp_858 = 11
    local real tuple_temp_859 = 0.5
    local integer tuple_temp_860 = 12
    local real tuple_temp_861 = 2.833
    local integer tuple_temp_862 = 13
    local real tuple_temp_863 = 60.0
    local integer tuple_temp_864 = 0
    local real tuple_temp_865 = 0.434
    local integer tuple_temp_866 = 1
    local real tuple_temp_867 = 2.367
    local integer tuple_temp_868 = 2
    local real tuple_temp_869 = 3.333
    local integer tuple_temp_870 = 0
    local real tuple_temp_871 = 3.333
    local integer tuple_temp_872 = 0
    local real tuple_temp_873 = 2.0
    local integer tuple_temp_874 = 1
    local real tuple_temp_875 = 3.333
    local integer tuple_temp_876 = 2
    local real tuple_temp_877 = 60.0
    local integer tuple_temp_878 = 0
    local real tuple_temp_879 = 2.333
    local integer tuple_temp_880 = 0
    local real tuple_temp_881 = 2.5
    local integer tuple_temp_882 = 1
    local real tuple_temp_883 = 2.0
    local integer tuple_temp_884 = 2
    local real tuple_temp_885 = 2.333
    local integer tuple_temp_886 = 3
    local real tuple_temp_887 = 60.0
    local integer tuple_temp_888 = 0
    local real tuple_temp_889 = 3.333
    local integer tuple_temp_890 = 0
    local real tuple_temp_891 = 0.334
    local integer tuple_temp_892 = 1
    local real tuple_temp_893 = 0.333
    local integer tuple_temp_894 = 0
    local real tuple_temp_895 = 2.467
    local integer tuple_temp_896 = 0
    local real tuple_temp_897 = 3.333
    local integer tuple_temp_898 = 0
    local real tuple_temp_899 = 1.5
    local integer tuple_temp_900 = 1
    local real tuple_temp_901 = 2.667
    local integer tuple_temp_902 = 2
    local real tuple_temp_903 = 4.0
    local integer tuple_temp_904 = 3
    local real tuple_temp_905 = 1.0
    local integer tuple_temp_906 = 4
    local real tuple_temp_907 = 1.266
    local integer tuple_temp_908 = 5
    local real tuple_temp_909 = 0.8
    local integer tuple_temp_910 = 6
    local real tuple_temp_911 = 3.334
    local integer tuple_temp_912 = 7
    local real tuple_temp_913 = 60.0
    local integer tuple_temp_914 = 8
    local real tuple_temp_915 = 60.0
    local integer tuple_temp_916 = 9
    local real tuple_temp_917 = 1.5
    local integer tuple_temp_918 = 10
    local real tuple_temp_919 = 0.6
    local integer tuple_temp_920 = 0
    local real tuple_temp_921 = 1.5
    local integer tuple_temp_922 = 1
    local real tuple_temp_923 = 0.8
    local integer tuple_temp_924 = 2
    local real tuple_temp_925 = 1.0
    local integer tuple_temp_926 = 3
    local real tuple_temp_927 = 1.0
    local integer tuple_temp_928 = 4
    local real tuple_temp_929 = 1.0
    local integer tuple_temp_930 = 5
    local real tuple_temp_931 = 3.0
    local integer tuple_temp_932 = 6
    local real tuple_temp_933 = 1.067
    local integer tuple_temp_934 = 7
    local real tuple_temp_935 = 60.0
    local integer tuple_temp_936 = 8
    local real tuple_temp_937 = 60.0
    local integer tuple_temp_938 = 9
    local real tuple_temp_939 = 1.0
    local integer tuple_temp_940 = 10
    local real tuple_temp_941 = 1.0
    local integer tuple_temp_942 = 11
    local real tuple_temp_943 = 1.0
    local integer tuple_temp_944 = 0
    local real tuple_temp_945 = 1.0
    local integer tuple_temp_946 = 0
    local real tuple_temp_947 = 0.066
    local integer tuple_temp_948 = 0
    local real tuple_temp_949 = 1.234
    local integer tuple_temp_950 = 1
    local real tuple_temp_951 = 2.533
    local integer tuple_temp_952 = 2
    local real tuple_temp_953 = 1.734
    local integer tuple_temp_954 = 3
    local real tuple_temp_955 = 1.167
    local integer tuple_temp_956 = 4
    local real tuple_temp_957 = 1.067
    local integer tuple_temp_958 = 5
    local real tuple_temp_959 = 1.0
    local integer tuple_temp_960 = 6
    local real tuple_temp_961 = 1.0
    local integer tuple_temp_962 = 7
    local real tuple_temp_963 = 1.2
    local integer tuple_temp_964 = 8
    local real tuple_temp_965 = 1.667
    local integer tuple_temp_966 = 9
    local real tuple_temp_967 = 2.0
    local integer tuple_temp_968 = 10
    local real tuple_temp_969 = 60.0
    local integer tuple_temp_970 = 11
    local real tuple_temp_971 = 60.0
    local integer tuple_temp_972 = 12
    local real tuple_temp_973 = 1.0
    local integer tuple_temp_974 = 0
    local real tuple_temp_975 = 3.333
    local integer tuple_temp_976 = 0
    local real tuple_temp_977 = 1.567
    local integer tuple_temp_978 = 0
    local real tuple_temp_979 = 3.333
    local integer tuple_temp_980 = 0
    local real tuple_temp_981 = 3.333
    local integer tuple_temp_982 = 0
    local real tuple_temp_983 = 0.5
    local integer tuple_temp_984 = 1
    local real tuple_temp_985 = 0.033
    local integer tuple_temp_986 = 2
    local real tuple_temp_987 = 1.5
    local integer tuple_temp_988 = 0
    local real tuple_temp_989 = 0.5
    local integer tuple_temp_990 = 1
    local real tuple_temp_991 = 1.834
    local integer tuple_temp_992 = 2
    local real tuple_temp_993 = 55.0
    local integer tuple_temp_994 = 3
    local real tuple_temp_995 = 0.5
    local integer tuple_temp_996 = 0
    local real tuple_temp_997 = 2.5
    local integer tuple_temp_998 = 1
    local real tuple_temp_999 = 0.333
    local integer tuple_temp_1000 = 2
    local real tuple_temp_1001 = 2.333
    local integer tuple_temp_1002 = 0
    local real tuple_temp_1003 = 1.0
    local integer tuple_temp_1004 = 1
    local real tuple_temp_1005 = 3.0
    local integer tuple_temp_1006 = 2
    local real tuple_temp_1007 = 1.0
    local integer tuple_temp_1008 = 3
    local real tuple_temp_1009 = 3.034
    local integer tuple_temp_1010 = 4
    local real tuple_temp_1011 = 1.0
    local integer tuple_temp_1012 = 5
    local real tuple_temp_1013 = 60.0
    local integer tuple_temp_1014 = 6
    local real tuple_temp_1015 = 60.0
    local integer tuple_temp_1016 = 0
    local real tuple_temp_1017 = 3.333
    local integer tuple_temp_1018 = 0
    local real tuple_temp_1019 = 1.0
    local integer tuple_temp_1020 = 1
    local real tuple_temp_1021 = 0.3
    local integer tuple_temp_1022 = 2
    local real tuple_temp_1023 = 1.5
    local integer tuple_temp_1024 = 3
    local real tuple_temp_1025 = 60.0
    local integer tuple_temp_1026 = 0
    local real tuple_temp_1027 = 3.333
    local integer tuple_temp_1028 = 0
    local real tuple_temp_1029 = 1.266
    local integer tuple_temp_1030 = 1
    local real tuple_temp_1031 = 1.667
    local integer tuple_temp_1032 = 2
    local real tuple_temp_1033 = 1.334
    local integer tuple_temp_1034 = 3
    local real tuple_temp_1035 = 1.0
    local integer tuple_temp_1036 = 4
    local real tuple_temp_1037 = 1.5
    local integer tuple_temp_1038 = 5
    local real tuple_temp_1039 = 3.0
    local integer tuple_temp_1040 = 6
    local real tuple_temp_1041 = 60.0
    local integer tuple_temp_1042 = 7
    local real tuple_temp_1043 = 60.0
    local integer tuple_temp_1044 = 8
    local real tuple_temp_1045 = 0.834
    local integer tuple_temp_1046 = 9
    local real tuple_temp_1047 = 0.8
    local integer tuple_temp_1048 = 0
    local real tuple_temp_1049 = 3.333
    local integer tuple_temp_1050 = 0
    local real tuple_temp_1051 = 23.467
    local integer tuple_temp_1052 = 0
    local real tuple_temp_1053 = 1.333
    local integer tuple_temp_1054 = 1
    local real tuple_temp_1055 = 0.667
    local integer tuple_temp_1056 = 0
    local real tuple_temp_1057 = 1.0
    local integer tuple_temp_1058 = 1
    local real tuple_temp_1059 = 0.3
    local integer tuple_temp_1060 = 2
    local real tuple_temp_1061 = 1.5
    local integer tuple_temp_1062 = 3
    local real tuple_temp_1063 = 60.0
    local integer tuple_temp_1064 = 0
    local real tuple_temp_1065 = 1.834
    local integer tuple_temp_1066 = 0
    local real tuple_temp_1067 = 0.567
    local integer tuple_temp_1068 = 1
    local real tuple_temp_1069 = 1.334
    local integer tuple_temp_1070 = 2
    local real tuple_temp_1071 = 2.334
    local integer tuple_temp_1072 = 3
    local real tuple_temp_1073 = 1.166
    local integer tuple_temp_1074 = 4
    local real tuple_temp_1075 = 2.5
    local integer tuple_temp_1076 = 5
    local real tuple_temp_1077 = 60.0
    local integer tuple_temp_1078 = 6
    local real tuple_temp_1079 = 60.0
    local integer tuple_temp_1080 = 7
    local real tuple_temp_1081 = 2.333
    local integer tuple_temp_1082 = 8
    local real tuple_temp_1083 = 1.167
    local integer tuple_temp_1084 = 0
    local real tuple_temp_1085 = 1.0
    local integer tuple_temp_1086 = 1
    local real tuple_temp_1087 = 0.3
    local integer tuple_temp_1088 = 2
    local real tuple_temp_1089 = 1.5
    local integer tuple_temp_1090 = 3
    local real tuple_temp_1091 = 60.0
    local integer tuple_temp_1092 = 0
    local real tuple_temp_1093 = 1.334
    local integer tuple_temp_1094 = 1
    local real tuple_temp_1095 = 1.0
    local integer tuple_temp_1096 = 2
    local real tuple_temp_1097 = 0.833
    local integer tuple_temp_1098 = 3
    local real tuple_temp_1099 = 1.0
    local integer tuple_temp_1100 = 4
    local real tuple_temp_1101 = 2.667
    local integer tuple_temp_1102 = 5
    local real tuple_temp_1103 = 2.666
    local integer tuple_temp_1104 = 6
    local real tuple_temp_1105 = 60.0
    local integer tuple_temp_1106 = 7
    local real tuple_temp_1107 = 60.0
    local integer tuple_temp_1108 = 0
    local real tuple_temp_1109 = 0.667
    local integer tuple_temp_1110 = 1
    local real tuple_temp_1111 = 2.0
    local integer tuple_temp_1112 = 0
    local real tuple_temp_1113 = 3.333
    local integer tuple_temp_1114 = 0
    local real tuple_temp_1115 = 3.0
    local integer tuple_temp_1116 = 1
    local real tuple_temp_1117 = 3.0
    local integer tuple_temp_1118 = 0
    local real tuple_temp_1119 = 3.333
    local integer tuple_temp_1120 = 0
    local real tuple_temp_1121 = 6.666
    local integer tuple_temp_1122 = 1
    local real tuple_temp_1123 = 1.666
    local integer tuple_temp_1124 = 2
    local real tuple_temp_1125 = 1.667
    local integer tuple_temp_1126 = 0
    local real tuple_temp_1127 = 0.667
    local integer tuple_temp_1128 = 1
    local real tuple_temp_1129 = 0.4
    local integer tuple_temp_1130 = 2
    local real tuple_temp_1131 = 1.667
    local integer tuple_temp_1132 = 3
    local real tuple_temp_1133 = 1.5
    local integer tuple_temp_1134 = 4
    local real tuple_temp_1135 = 1.0
    local integer tuple_temp_1136 = 5
    local real tuple_temp_1137 = 1.167
    local integer tuple_temp_1138 = 6
    local real tuple_temp_1139 = 1.0
    local integer tuple_temp_1140 = 7
    local real tuple_temp_1141 = 1.667
    local integer tuple_temp_1142 = 8
    local real tuple_temp_1143 = 60.0
    local integer tuple_temp_1144 = 9
    local real tuple_temp_1145 = 60.0
    local integer tuple_temp_1146 = 0
    local real tuple_temp_1147 = 1.934
    local integer tuple_temp_1148 = 1
    local real tuple_temp_1149 = 3.0
    local integer tuple_temp_1150 = 2
    local real tuple_temp_1151 = 3.733
    local integer tuple_temp_1152 = 3
    local real tuple_temp_1153 = 60.1
    local integer tuple_temp_1154 = 0
    local real tuple_temp_1155 = 1.334
    local integer tuple_temp_1156 = 1
    local real tuple_temp_1157 = 3.333
    local integer tuple_temp_1158 = 2
    local real tuple_temp_1159 = 2.067
    local integer tuple_temp_1160 = 3
    local real tuple_temp_1161 = 1.6
    local integer tuple_temp_1162 = 4
    local real tuple_temp_1163 = 1.2
    local integer tuple_temp_1164 = 5
    local real tuple_temp_1165 = 0.933
    local integer tuple_temp_1166 = 6
    local real tuple_temp_1167 = 0.933
    local integer tuple_temp_1168 = 7
    local real tuple_temp_1169 = 1.0
    local integer tuple_temp_1170 = 8
    local real tuple_temp_1171 = 1.867
    local integer tuple_temp_1172 = 9
    local real tuple_temp_1173 = 60.0
    local integer tuple_temp_1174 = 10
    local real tuple_temp_1175 = 60.0
    local integer tuple_temp_1176 = 0
    local real tuple_temp_1177 = 3.533
    local integer tuple_temp_1178 = 1
    local real tuple_temp_1179 = 3.333
    local integer tuple_temp_1180 = 2
    local real tuple_temp_1181 = 2.333
    local integer tuple_temp_1182 = 3
    local real tuple_temp_1183 = 2.334
    local integer tuple_temp_1184 = 4
    local real tuple_temp_1185 = 2.333
    local integer tuple_temp_1186 = 0
    local real tuple_temp_1187 = 3.0
    local integer tuple_temp_1188 = 0
    local real tuple_temp_1189 = 1.0
    local integer tuple_temp_1190 = 1
    local real tuple_temp_1191 = 0.3
    local integer tuple_temp_1192 = 2
    local real tuple_temp_1193 = 1.5
    local integer tuple_temp_1194 = 3
    local real tuple_temp_1195 = 60.0
    local integer tuple_temp_1196 = 0
    local real tuple_temp_1197 = 0.967
    local integer tuple_temp_1198 = 1
    (shortened)
    return true
endfunction
Cokemonkey11 commented 5 years ago

The 14k I referred to was the global var limit, not the function-scope local limit.

The latter I have no idea about, unfortunately.

One interesting thing is that global var limit seems to result in map loading with no script, while local limit causes a crash

Robbepop commented 5 years ago

Don't know if these problems are connected but for me the same UnitAnimations package is broken as well - independent of optimizations enabled or not. The errors says that named are duplicated. Names such as Vulture and other (to me random) names within that same package. Making my whole non-compilable at the moment.

peq commented 5 years ago

The duplicate names should already be fixed if you use the latest version of the library.

Robbepop commented 5 years ago

That's really strange because I just updated it right before that. Maybe something went wrong. I will probably just completely reinstall Wurst as a whole and notify you about the results later.

edit: Thanks @peq , upgrading was indeed broken so I had two wrong versions of WurstScript installed at the same time. completely uninstalled and reinstalled WurstScript and everything works again.

Frotty commented 5 years ago

Okay I fixed it by removing garbage not only before but also after flattening. This is also done by -opt param which is why it worked with that. So output is now fixed, but still slow as molasses. A quick preprocessor that checks if imported packages are actually referenced by any package, before doing a complete parse, could at least address the issue when not using the package.