couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: Vhosting Requirements (was: Re: [jira] Commented: (COUCHDB-230) Add Support for Rewritable URL)
Date Thu, 19 Aug 2010 15:49:06 GMT
On Thu, Aug 19, 2010 at 5:36 PM, Noah Slater <> wrote:
> On 19 Aug 2010, at 16:23, Benoit Chesneau wrote:
>> Regexps are complicated, Regexps are slow (especially in erlang).
> This is generally false.
> I'd want to seem some data to back it up as a justification.

Well asking without giving yourself some data make it irrelevant but :

and other on the web. Also did yoi-u really try to do the same in
erlang compatred to pattern matching ?

> If you're going to allow this kind of pattern matching, I would use regexps until it
was proven inefficient.

Pattern matching is more efficient in erlang. Why would would you use
regexp where it's not needed. regexp give an extra level of complexity
we don't need here.

View raw message