# linbin **Repository Path**: mirrors_lemire/linbin ## Basic Information - **Project Name**: linbin - **Description**: Linear vs binary search benchmark - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Exploring Linear vs Binary Search ================================= First, read this: http://schani.wordpress.com/2010/04/30/linear-vs-binary-search/ To run the benchmarks, do make ./bench.py >out This will take a few hours and should run on an unloaded machine. The results will be in the file "out". You can then visualize the results with ./genplot.py This will test the given algorithm on array sizes up to MAX-N. To time an algorithm, use time ./searchtest This will run the given number of random searches with the given algorithm on an array of size N. To get a list of all the algorithms, do ./searchtest --list