HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mrkcsc

no profile record

comments

mrkcsc
·2 месяца назад·discuss
OK but thats simply doesn't perform.

You can't say "only rendering what is visible should be handled by the browser" and call that a solution unless you have a magic wand to make Chrome/other browsers do this.

The browser doesn't do this, and so you can either do what you say and have your browser freeze when you load up a million line diff, or you can fix things within your control which is what the author is doing.
mrkcsc
·2 месяца назад·discuss
> I feel like virtualization is not the right way to handle things.

How would you handle it?
mrkcsc
·2 месяца назад·discuss
Optimizing for the P95/99 case of performance typically makes everything better as a whole.
mrkcsc
·2 месяца назад·discuss
What are you even talking about, this post is about rendering code diffs in the context of the web.

Whether or not it would be "trivial" in a native terminal application is irrelevant.