読み書きプログラミング

日常のプログラミングで気づいたことを綴っています

JavaScriptパフォーマンスベストプラクティスその5

Nokia Developerより

オブジェクト指向JavaScript

代わりの継承機構を検討すること
  • There exists many ways to mimic Object Orientated style inheritance in JavaScript. However, not all the mechanism to emulate inheritance perform similarly.
  • Especially if your code calls overridden methods frequently you should take a look at the results of JavaScript Inheritance Performance study.