> * What’s cooking (Miklos) > + Noel looked at UNO-level weak references, performance → found a > different solution for a11y > > Our a11y is fundamentally slow because it always builds a parallel object hierarchy of ~everything, UI and document model.
And because it makes extensive use of weak pointers, and ours are even slower than std::weak_ptr (which is not high performance itself). Ideally, we should be building the a11y stuff on-demand, but that it just too deep of a change to be achievable. I'm playing with the idea of saying: Everything inside the soffice binary __must__ use OWeakObject and css::uno::WeakReference to do any weak stuff. and then I can specialise the weak object implementation into two - one fast one for everything inside the process, and a slow one for handling cross-process weak pointers.
_______________________________________________ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/