ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
573 stars 170 forks source link

mesh_utils methods to use constant references for parameter passing #860

Closed mantunezr closed 3 weeks ago

mantunezr commented 3 weeks ago

Refactored several methods in the mesh_utils module to pass parameters by constant reference instead of by value. This change improves performance by avoiding unnecessary copies and enhances code readability and maintainability. All affected methods now take const references for input parameters where applicable.

mantunezr commented 3 weeks ago

"Apologies for the confusion. I mistakenly included an unintended commit in the latest PR attempt. I'll rectify this promptly."