Re: [PROPOSAL] Speed up _list and _update optimizing req object

2015-11-14 Thread Alexander Shorin
b_name as filter instead of node_name, >> given that every nodeX will have one and only one single database dbX". >> Right? >> >> >> >> --Giovanni >> >> 2015-11-13 11:44 GMT+01:00 Alexander Shorin <kxe...@gmail.com>: >> >>> On

Re: [PROPOSAL] Speed up _list and _update optimizing req object

2015-11-12 Thread Alexander Shorin
Hi, On Thu, Nov 12, 2015 at 10:37 PM, Giovanni Lenzi wrote: >>> * .info object generation steals 1-2ms even on very powerful machines > > the only attribute we used so far was the db_name. Is db_name generation > slow too? No, slow is gathering all the stats. Especially

Re: [PROPOSAL] Speed up _list and _update optimizing req object

2015-11-13 Thread Alexander Shorin
On Fri, Nov 13, 2015 at 1:28 PM, Giovanni Lenzi wrote: >> No, slow is gathering all the stats. Especially in cluster. The >> db_name you can get from req.userCtx without problem. >> > > Does req.userCtx contain also db_name currently? I thought it was only for > user data

Re: [PROPOSAL] Deprecate global functions in query server

2015-12-02 Thread Alexander Shorin
ify, web pack, requirejs etc > So a full example would be > > function (doc, emit) { >var isArray = require(‘helpers’).isArray; >var allHelpers = require(‘helpers’); > > > } > > That is my 2 cents worth. > > Cheers > Garren > >> On 02 Dec 2015, at 2:4

Re: UTF-8 encoding for JSONs with non-latin chars

2016-03-20 Thread Alexander Shorin
: https://github.com/apache/couchdb-couch/blob/master/src/couch_util.erl#L393 -- ,,,^..^,,, On Sun, Mar 20, 2016 at 6:38 PM, Alexander Shorin <kxe...@gmail.com> wrote: > Hi. > > I got interested by this change, but suddenly only now get a change to > test this and I'm actually co