Good point. I think for the moment I'll leave it just for the sake of time. It's written in C, so hopefully the find() method is actually quite fast. It may be worth re-visiting later.