@FrostyCat in another thread threw some code at me which i made a small edit to and what i found was absolutely one sided performance wise but i want to ask if the third option, using a ds_list, can be further optimized, or if an entirely different method could be employed.
with appears to be faster to run then both instance_find and ds_list_find_value() by a significant margin
Code:
function instance_find_vs_with(n) {
// Create instances
repeat (n) {
instance_create_layer(0, 0, layer, obj_subject);
}
show_debug_message("Testing with " + string(n) + "...