Re: [v8-users] Re: Question: how to improve performances for proxies?

2016-08-05 Thread Fangdun Cai
check this once if >>> you use the auto-setup. >>> If you care a bit less for some corner cases you can do a keyed-load >>> from the target (target[key]) and just assume that if it's undefined you >>> have to look it up on origin object. >>> >>&g

[v8-users] Re: Question: how to improve performances for proxies?

2016-08-05 Thread Fangdun Cai
keyed-load from > the target (target[key]) and just assume that if it's undefined you have to > look it up on origin object. > > let me know if this helps. > > On Friday, August 5, 2016 at 6:49:09 AM UTC+2, Fangdun Cai wrote: >> >> >>- Node 6.3.1: >>-

[v8-users] Question: how to improve performances for proxies?

2016-08-04 Thread Fangdun Cai
- Node 6.3.1: - macOS: I try use proxies for my project and created the https://github.com/fundon/delegate-proxy. But results from the benchmarks, proxy is very slowly. How to improve it? Source code module.exports = function delegateProxy (target, origin) { return new