Hacker News new | ask | show | jobs
by kanbannoman 3523 days ago
I always wondered why Emacs struggled to render certain visual elements as quickly as other editors (e.g. Sublime). For example, load in a relatively long line (not even ridiculously long), and it comes grinding to a halt, can't even edit text _near_ the long lines, if its in view! Same goes for linum mode being resource heavy. Why is this? I would have expected that a text editor built in the 70s should excel at rendering text quickly and efficiently?

Is the reason related to this blog post? Every time I tried to profile emacs it led me to the redisplay function, and from there i was lost..

Is there any hope that emacs will ever render code as quickly as modern 'native' apps (e.g sublime)??

1 comments

I'm pretty fussy, and I haven't noticed any slowness when editing long lines on Emacs on OS X or Windows. Might be specific to the GTK port.