[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newproxy, bug
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 11 Jan 2011 15:14:14 -0200
> > p.x = 1; p.x = 1; p.y = 1; p.z = 1; p.z = 1; p.z = 1; p.y = 1;
> >
> > This is 40%-50% slower with table-based proxies vs. userdata
> > proxies. The actual cost is much higher -- it's shadowed by the
> > interpreter overhead.
>
> Interesting. Does this suggest that if newproxy were to go away, there
> should be a short-circuit path for setting values in empty tables --
> i.e., tables essentially being used as proxies?
I think we should see the costs in real programs.
-- Roberto
- References:
- newproxy, bug, joao lobato
- Re: newproxy, bug, Roberto Ierusalimschy
- Re: newproxy, bug, Javier Guerra Giraldez
- Re: newproxy, bug, Geoff Leyland
- Re: newproxy, bug, Mike Pall
- Re: newproxy, bug, Geoff Leyland
- Re: newproxy, bug, Mike Pall
- Re: newproxy, bug, Mark Hamburg