couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Numerical accuracy and precision
Date Mon, 16 Jul 2012 22:35:38 GMT

On Jul 16, 2012, at 9:28 AM, Robert Newson <<>>

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 <<>>

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.


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