My main bottleneck is that I do a complete diff on all open + changed documents in the repository up front, because due to how document properties are stored, I won't know if the file has meaningful changes until I compute the full diff (FreeCAD may save the document, but not have anything meaningful change.)
On Rendering Diffs
31–40 of 73 posts
Re: On Rendering Diffs
#32Computers are very powerful these days and have a done of resources that they can use. We should be able to handle large diffs without any crazy tricks.
Re: On Rendering Diffs
#33A bit of a technical deep dive into how we built CodeView, a review surface that can handle rendering diffs of immense size, all in a browser.
Re: On Rendering Diffs
#34Earlier quoted context omitted.
> disagree with the theory that scrolling frame rate doesn't need to be smooth for scrolling to feel smooth It's possible you might be misunderstanding what I was trying to say here because 120hz scrolling on a 120hz device was the goal and why one of those virtualization techniques was not acceptable to me which lead me to coming up with a novel workaround to this problem (Inverse Sticky Technique). CodeView uses a…
Even the linked ghostty PR on your home shows this - this is Firefox Android on a Nokia XR21 / TA-1486. It's not unuseable, but it definitely feels like 'js hacking my scrolling' and not a native surface flinging around. The experience is actually worse with smaller movements, i guess because my brain is more conscious when breaking the 'finger physically moving the text' illusion. I don't mean to be dismissive - you…
Just to be clear tho, we don't actually scroll jack, native scrolling works as it should and content should move with normal gpu composited scroll. That said, it's possible that loading that much data into memory may be causing causing knock on effects somehow that are just slowing everything down.
Re: On Rendering Diffs
#35https://repo.autonoma.ca/repo/treetrek/commit/3fe9360599ae23...
The diffs rendering library looks amazing: https://diffs.com/
Presumably the red-green issue is a simple CSS update?
Re: On Rendering Diffs
#36When producing TreeTrek, I went with rudimentary diffs that account for colourblind developers: https://repo.autonoma.ca/repo/treetrek/commit/3fe9360599ae23... The diffs rendering library looks amazing: https://diffs.com/ Presumably the red-green issue is a simple CSS update?
Re: On Rendering Diffs
#37For a brief hopeful moment, I thought this was the .io kind of sandstorm
Re: On Rendering Diffs
#38I believe we're just making everything harder than it needs by constraining it to a browser interface. This would be trivial as a terminal application written in native code.
Re: On Rendering Diffs
#39Is this really a hard problem? Rendering some text with coloring? I believe we're just making everything harder than it needs by constraining it to a browser interface. This would be trivial as a terminal application written in native code.
Re: On Rendering Diffs
#40Is this really a hard problem? Rendering some text with coloring? I believe we're just making everything harder than it needs by constraining it to a browser interface. This would be trivial as a terminal application written in native code.
Whether or not it would be "trivial" in a native terminal application is irrelevant.