> > So, I am > just checking if the classe_id field starts with a certain string. Is regex > comparison a heavy operation in Javascript?
I'm going go out on a limb and say it's *way* more heavyweight than a
doc.classe_id.indexOf('...') == 0 which from the sounds of it would give you
the same results.
