Using binarysearch instead of for loop doesnt work
#5

Already saw your last topic but I am still wondering why do you do it in this roundabout way instead of indexing the array with the pickupid
The only advantage I see is that the access to all ActorPickups and MoneyPickups is faster but I think this is rarely needed / or not needed at all in my opinion
Reply


Messages In This Thread
Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 13:58
Re: Using binarysearch instead of for loop doesnt work - by NaS - 16.03.2017, 14:17
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 14:59
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 15:02
Re: Using binarysearch instead of for loop doesnt work - by Nero_3D - 16.03.2017, 16:05
Re: Using binarysearch instead of for loop doesnt work - by faxxe - 16.03.2017, 16:31
Re: Using binarysearch instead of for loop doesnt work - by Nero_3D - 16.03.2017, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)