W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2006

[whatwg] Canvas 2d methods

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 2 Jul 2006 05:21:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0607020521250.4826@dhalsim.dreamhost.com>
On Sat, 1 Jul 2006, Andrew Fedoniouk wrote:
> 
> In prototype based languages it is almost impossible to implement 'with' 
> effectively in the given notation.
> 
> ctx.moveTo(0,0).lineTo(10,10);
> 
> is more effective. In some circumstances - in times.

Why is it more effective for JS?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 1 July 2006 22:21:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:47 UTC