Should use binary search instead. However, is it called somewhere? You already changed the way we serialize/deserialize vectors.