couchdb-dev mailing list archives

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

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


Mime
View raw message