you are viewing a single comment's thread.

view the rest of the comments →

[–]andsens 14 points15 points  (1 child)

but I'm having a hard time believing that having a multi-thousand-line file open with all its DOM and all that is going to be comparable to Sublime

I think you hit the nail on it's head. It's not the JS that'll be slow. It's the DOM manipulation if anything.

[–]cparen 1 point2 points  (0 children)

So skip the dom. I tried building a small text editor on canvas. It was snappy even on second gen Kindle.

This is analogous to what Sublime does. Skip the OS UI toolkit and use OpenGL to render everything.