Using binarysearch instead of using indexof which iterates throught the array
improves the performance for huge amount of data seriously. If indexof have to
load and compare 20000 values, binarysearch only needs to compare log(20000)=5
values.
I attached a patch implementing binarysearch.
Original issue reported on code.google.com by timpam...@gmail.com on 1 Feb 2012 at 5:18
Original issue reported on code.google.com by
timpam...@gmail.com
on 1 Feb 2012 at 5:18Attachments: