couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Antivackis <patrick.antivac...@gmail.com>
Subject Re: View keys case-insensitive?
Date Fri, 10 Apr 2009 17:14:35 GMT
Your welcome, for one time I can help you and not the opposite


2009/4/10 Paul Davis <paul.joseph.davis@gmail.com>

> > (let's say we use Level 3)
> > sortKey=[];
> > for (i=0; i<3; i++) {
> >   for(j=0; j<sArray.length(), j++) {
> >    sortKey.push(sArray[j][i]);
> > }
> >
> > }
>
> Patrick!  A million thanks. Seeing this in code I at first thought,
> wait, srsly? And then double checking:
>
> S3.1 For each weight level L in the collation element array from 1 to
> the maximum level,
>
> I was absolutely not paying enough attention yesterday. I'd translated that
> to:
>
> for(j = 0; j < array.length; j++)
>    for(i =0; i < 3; i++)
>
> Code always speaks louder than words.
>
> Thanks again,
> Paul Davis
>

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