You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "rnewson (via GitHub)" <gi...@apache.org> on 2023/05/22 15:10:59 UTC

[GitHub] [couchdb] rnewson commented on issue #4612: Cache VDU functions so they are not called for each document

rnewson commented on issue #4612:
URL: https://github.com/apache/couchdb/issues/4612#issuecomment-1557399252

   note that the function strings are cached (by load_validation_funs in couch_doc), but we send them to couchjs on every doc update, so we don't get any benefit from JIT and we're bloating the message we send to validate_doc_update over stdio.
   
   see if we can do better here.
   
   related PR https://github.com/apache/couchdb/pull/1898 which proposes another way to do VDU's without javascript at all.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org