incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Landolt" <d...@deanlandolt.com>
Subject Re: Is it possible to evaluate a view on a 20.000 documents database?
Date Fri, 01 Aug 2008 14:11:28 GMT
>
> 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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message