Hi Miklos,

Miklos Vajna-4 wrote
> Isn't the difference between std::set and std::map that the key is
> separated from the value, i.e. it has an operator[] what you want here?

The [] operator is to retrieve the nth element of the sorted vector. I don't
figure out how map would replace vector here? What key to use?
Above all, do you think it worths it to spend some time on searching a way
to replace the vector implementation or am I misleading? I must recognize
it's just some guessing, I haven't profiled anything.

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-SwSortedObjs-tp4102571p4102612.html
Sent from the Dev mailing list archive at Nabble.com.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to