https://bugs.winehq.org/show_bug.cgi?id=46787
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- At least in releases I tried, the way directwrite is used is rather suboptimal. As I recall it simply recreated layout object every time text changed. That means that if you have 100 words paragraph and you type a space somewhere in it, all of it gets reshaped. Obviously when files gets larger, shaping time increases.
Now, I don't know if there is some advanced word cache on Windows that reduces the impact, but for the best performance editor should implement layout itself, and use lower level API - GetGlyphs/GetGlyphPlacements.