[EMAIL PROTECTED] wrote:
rgheck <[EMAIL PROTECTED]> writes:
Yes, I'm not at all sure how often we actually need to access a
paragraph's layout. And I thought about converting LayoutList to a
map<string> a while ago, but didn't do it. And index-based access is
also worth a thought, too. That would be OK, as long as we only ever
expanded the list of layouts at the end.

AFAIR, we used to use layout names, but this was changed to using
pointers after a profiling session from Lars.
There is a risk for sure and a profiling session would be required if we switch to name based access. But the bottlenecks of years back may have disappeared now.

Abdel.

Reply via email to