couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Charytoniuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-2558) enc_string vs JS_EncodeStringToBuffer
Date Fri, 23 Jan 2015 15:54:34 GMT
Mateusz Charytoniuk created COUCHDB-2558:
--------------------------------------------

             Summary: enc_string vs JS_EncodeStringToBuffer
                 Key: COUCHDB-2558
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2558
             Project: CouchDB
          Issue Type: Improvement
      Security Level: public (Regular issues)
            Reporter: Mateusz Charytoniuk


It seems that SpiderMonkey has JS_EncodeStringToBuffer API function that apparently does the
same thing as enc_string from src/couchdb/priv/couch_js/utf8.c . Is there a reason to use
enc_string instead of JS_EncodeStringToBuffer inside couchdb?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message