couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] Commented: (COUCHDB-796) Bignum support
Date Sat, 12 Jun 2010 18:15:13 GMT


Adam Kocoloski commented on COUCHDB-796:

Hi Bob, can you be a little more specific on this proposal?  What does it mean to "handle
bignums" -- does anything change in the mochijson2 decoder?

Do you want to make the encoder always encode integers larger than N as strings?  I kinda
dislike that default because it becomes impossible to roundtrip a bignum through mochijson2.

> Bignum support
> --------------
>                 Key: COUCHDB-796
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.11
>            Reporter: Robert Newson
>             Fix For: 1.0
> CouchDB uses spidermonkey which can only handle 32 bit integer values before overflowing.
This might surprise users of map/reduce on large datasets.
> Instead, alter mochijson2.erl to handle bignums and encode numeric values as strings.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message