You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2010/06/12 20:15:13 UTC
[jira] Commented: (COUCHDB-796) Bignum support
[ https://issues.apache.org/jira/browse/COUCHDB-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878297#action_12878297 ]
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: https://issues.apache.org/jira/browse/COUCHDB-796
> 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.