> Do you happen to have STRs?
Not offhand.... there was cutting and pasting involved, though. Past that... I'll see what I can dig up.
> Why is the textrun non-null when reflowing? We've already cleared them all, > right?
We cleared them. Presumably something regenerated them!
> Yes, and I think we're actually relying on that:
Right. The point is we end up clearing+recreating there at least twice.
And again, that doesn't account for all of the slowdown.
> How many lines are you pasting?
I'm using the testcase linked from comment 0. So 4379 lines.
> (We should create at least one textrun per line, right?)
An excellent question!
> Do you happen to have STRs?
Not offhand.... there was cutting and pasting involved, though. Past that... I'll see what I can dig up.
> Why is the textrun non-null when reflowing? We've already cleared them all,
> right?
We cleared them. Presumably something regenerated them!
> Yes, and I think we're actually relying on that:
Right. The point is we end up clearing+recreating there at least twice.
And again, that doesn't account for all of the slowdown.
> How many lines are you pasting?
I'm using the testcase linked from comment 0. So 4379 lines.
> (We should create at least one textrun per line, right?)
An excellent question!