You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to change the return value of std::vectorp2t::Triangle* CDT::GetTriangles() ?
It receive a reference from sweep_context_->GetTriangles(); but it is converted into a copy of the vector that takes more time than if the vector returned by const reference.
Same for std::listp2t::Triangle* CDT::GetMap()
The text was updated successfully, but these errors were encountered:
icedevelopment
changed the title
Small performance issuewhen getting triangles
Small performance issue when getting triangles
Feb 16, 2022
Is it possible to change the return value of std::vectorp2t::Triangle* CDT::GetTriangles() ?
It receive a reference from sweep_context_->GetTriangles(); but it is converted into a copy of the vector that takes more time than if the vector returned by const reference.
Same for std::listp2t::Triangle* CDT::GetMap()
The text was updated successfully, but these errors were encountered: