Hi Jens,

Thanks for the information.

So, in light of what you've said, what is the recommended way to ensure
numerical precision with CouchDB?

Kind regards,
Samuel

On 17 July 2012 10:35, Jens Alfke <[email protected]> wrote:

>
> On Jul 16, 2012, at 9:28 AM, Robert Newson <[email protected]<mailto:
> [email protected]>> wrote:
>
> The built-in reduce functions are executed in erlang, which has arbitrary
> precision for integers and 64-bit precision for floating point.
>
> Implementing the design document functions in Erlang would be one
> workaround, although it wouldn't be allowed on a hosted CouchDB server.
>
>
> On Jul 16, 2012, at 8:33 AM, Samuel Williams <
> [email protected]<mailto:[email protected]>>
> wrote:
>
> it seems like a language with built in support for big
> integers would be ideal, e.g. Python, Ruby, rather than JavaScript.
>
> Both these languages are quite a bit slower than JavaScript, though, and
> performance is often a concern for view indexing.
>
> —Jens
>

Reply via email to