On Mon, Dec 6, 2010 at 13:07, Wordit Ltd <[email protected]> wrote:
> On Mon, Dec 6, 2010 at 8:23 PM, Randall Leeds <[email protected]> wrote:
>>
>> Oh, yeah. So, to answer your other question. Use a _list function.
>
> Thanks, I had not looked at lists yet. I placed all data in one array
> inside one document, rather than using separate docs for each item.
>
> Is there any performance difference to using a view on say 500 docs,
> or using a list function on a single doc containing the same 500 items
> in an array?
>

Not sure I have enough information to say. Depends on what processing
your list function does.
Remember that the input to a _list is actually a view, so do any
deterministic pre-processing in the view and filter in the _list.

> Thanks,
>
> Marcus
>

Reply via email to