2016q3 Homework1(phonebook)
Reviewed by believe7028
- 可以對 perf 所量測得到的信息做說明更細緻的解釋,以及是否有其他事件數據可說明程式的狀況。
- 除了縮小資料結構的大小,可以採用如雜湊等方法增加搜尋的效能。
- 如果未來資料一直增長,Linked list 可能無法在記憶體放所有資料。
- 可以加入刪除的功能以符合實際的需求。
- git log message 可以更明確指出做了什麼動作(mody xxx),並且增加細部的說明(the xxx … because …),讓開頭主題簡潔明確。
開發環境
- Linux核心:Linux version 3.19.0-25-generic
準備工作
原始版本
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
方法一:改變結構,使entry size變小
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
這圖片是錯的!沒反映程式執行時間的變化,請改正 jserv
將 phonebook_opt.h
中的 #define OPT1
註解取消掉 , 因為實驗室電腦lubuntu系統被我玩壞了 ,所以改成用別台電腦的 linux mint 作業系統做作業,謝謝老師在作業上的提點
LitSnow