incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
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 <rnewson@apache.org<mailto:rnewson@apache.org>>
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 <space.ship.traveller@gmail.com<mailto:space.ship.traveller@gmail.com>>
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

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