Is MATLAB OOP slow or am I doing something wrong?

前端 未结 4 774
礼貌的吻别
礼貌的吻别 2020-11-22 08:50

I\'m experimenting with MATLAB OOP, as a start I mimicked my C++\'s Logger classes and I\'m putting all my string helper functions in a String class, thinking it would be gr

4条回答
  •  南笙
    南笙 (楼主)
    2020-11-22 09:17

    The handle class has an additional overhead from tracking all of references to itself for cleanup purposes.

    Try the same experiment without using the handle class and see what your results are.

提交回复
热议问题