[ 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 ]
[ <<< 1 / 1 >>> ]

2011/08/21 06:13 C++ 型判定のスピードテスト。visitor が一番速い。

dynamic_cast : 0.468
enemy_count : 4999847
paint_count : 5000153

type_name : 0.934
enemy_count : 4999847
paint_count : 5000153
enemy_type_name : class Enemy
paint_type_name : class Paint

visitor : 0.103
enemy_count : 4999847
paint_count : 5000153
20110821-061443-rtti_speed_test.cpp