Is MATLAB OOP slow or am I doing something wrong?

前端 未结 4 793
礼貌的吻别
礼貌的吻别 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:19

    OO performance depends significantly on the MATLAB version used. I cannot comment on all versions, but know from experience that 2012a is much improved over 2010 versions. No benchmarks and so no numbers to present. My code, exclusively written using handle classes and written under 2012a will not run at all under earlier versions.

提交回复
热议问题