couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1362) couchjs doesn't clean out global namespace between views calls
Date Sun, 11 Dec 2011 23:06:40 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167235#comment-13167235
] 

Paul Joseph Davis commented on COUCHDB-1362:
--------------------------------------------

What version of SpiderMonkey are you using?

In general I agree but I've never seen an efficient method not to mention a way to support
it across all the SpiderMonkey versions we use.
                
> couchjs doesn't clean out global namespace between views calls
> --------------------------------------------------------------
>
>                 Key: COUCHDB-1362
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1362
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: jay groven
>            Priority: Minor
>
> Sometimes a view can access the functions that were defined in a previous view.  This
can lead a developer to think that function sharing has been implemented, but it's not reliable
behaviour.  It would be better if the global namespace were cleared between map/reduce runs
so that it's clear that there is no reliable way to share functions between views.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message