1. A content addressable memory (CAM) comprising: a dictionary entry divided into a plurality of banks; a counter associated with each bank of the plurality of banks, the counter counting the number of times a segment of an input word aligned with the bank does not match; and a scheduler to schedule comparison of banks with higher probability of not matching before banks with lower probability of not matching, the probability of not matching based on the counters.