魔头
原帖由 532 于 2017-10-1 15:58 发表 为什么越升级越卡,有结论了吗,加了很多空loop?
/** * remember to increase this value for each release, the increment doesn't has to be 1 but *need to be a value that can show how hard we've worked for the new release compare to the *old release */ #define AMAZING_VERSION 11 /** * call this function whenever there is something should happen but actually doesn't happen * and/or when there is not enough improvement made through the system */ void make_it_amazing(){ int a, num_loops = AMAZING_VERSION * 10000; for( a = 0; a < num_loops; a++ ){ // pretend something amazing is happening here, our fans need this shit } }
查看详细资料
TOP