couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: View keys case-insensitive?
Date Fri, 10 Apr 2009 14:28:41 GMT
> (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
View raw message