Linear search.

Experimental branch, not ready for review.