タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとdevelopmentとdataに関するkzms2のブックマーク (1)

  • Javascript - style vs. className

    I did each test 5 times, and then used the index values for judging the relative speed of the various methods. The "Fastest" methods have index 100 by definition. I added a rough index number for the slower method. Of course these index numbers are based on the browsers running on my computers, so you'll likely get slightly different values when you run the tests yourself. For comparison's sake, h

    kzms2
    kzms2 2011/10/25
    大抵の主要ブラウザではclass書き換えのほうが、style書き換えよりも早いらしい。汎用性もあるしclass書き換えの方が良さそうですね。
  • 1