Scripts: bts

 

bts:

Comparing the speed of a binary or a ternary search

Author: Дмитрий

[Deleted]  

Hello Dimitri!

I tested your code, substituted my own ... Yes, it looks like you are right, the ternary does work faster, lying on the floor )).

 
Yeah, and sorting the binary didn't help ...