Andes Workshop

It is currently Fri Mar 29, 2024 6:46 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: optimize(優化)使得程式不正常時的debug方法
PostPosted: Wed Mar 06, 2013 4:58 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
我整理optimize(優化)優化常見問題及解決方法。

(1)經過優化後,有些變數或代碼不見。
可以使用volatile加在變數之前。
(2)經過優化後,有些function不見或是代碼不正確。
可以降低優化程度後測試。
viewtopic.php?f=16&t=225
(3)經過優化後,程式碼因為順序調換了,使得結果不如預期。
可以先使得程式不要重新排序。
viewtopic.php?f=23&t=143


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group