In addition to packet-classification, where TCAM has already been selected as de-facto industry standard, we propose in this paper using a TCAM as a co-processor to CPU in order to solve hard problems from other domains in computer science. Specifically, we show how an encoding scheme such as RENÉ, which requires no row expansion, can be used to practically and efficiently solve the nearest neighbor search problem and its variants, removing the infamous curse of dimensionality from them.