Re: HTML5: Memory-based canvas versus page-based?

Discussion in 'HTML' started by JJ, Sep 8, 2013.

  1. JJ

    JJ Guest

    On Sat, 07 Sep 2013 08:26:22 -0700, Ed Jay wrote:
    > I'm trying to speed-optimize a routine in which I do a lot of on-canvas
    > pixel-by-pixel manipulation.
    >
    > Is there any difference in performance between using an HTML canvas
    > element, .e.g., <canvas>, versus establishing a memory-based canvas, e.g.,
    > canvas = document.createElement('canvas');?


    Only the canvas creation and attaching it to the document. There'll be
    performance overhead from the JavaScript interpreter. HTML interpretation is
    much simpler than JavaScript.
     
    JJ, Sep 8, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Askari
    Replies:
    2
    Views:
    713
    Askari
    Aug 30, 2004
  2. PhilC
    Replies:
    2
    Views:
    895
    PhilC
    Oct 25, 2004
  3. cwdjrxyz
    Replies:
    2
    Views:
    524
    Beauregard T. Shagnasty
    Jul 4, 2010
  4. Paul Butcher
    Replies:
    12
    Views:
    727
    Gary Wright
    Nov 28, 2007
  5. Replies:
    10
    Views:
    267
    Rick Johnson
    Mar 15, 2013
Loading...

Share This Page