#`array_contains_other`

1 messages · Page 1 of 1 (latest)

keen wren
keen wren
#

there was an error in array_find_index where it was validating on first pass, here are the corrected benchmarks:

#

appears to be many fluxuations in array_any as that code remains unchanged. no idea why its so different

austere gull
#

interesting that manual check has that much difference compared to all the rest in YYC.

keen wren
#

and those are just for loops, i imagine repeat loops are quite a bit faster when working on larger sizes. but with coming changes of gmlv3 i dont even think its worth testing for those until we see new results.

austere gull
#

don't repeat loops just compile to for loops anyway?

keen wren
#

yes

#

but they skip a lot of gml for loop specifics like type checks

#

actually they might even compile into while loops now? not actually sure. i know they are for loops in JS exports

austere gull
#

ah I see

keen wren
#

as @dense kite has mentioned making use of built in functions could produce better results, so i thought it would be best to include these in the test, and im quite glad i did!
results: