|
|
|
|
|
by Svenstaro
3065 days ago
|
|
Use `tree | less` just to get an idea of where everything is and how it is structured and `tokei` to check out what the code actually is written in. Then I try to go down the main code path of some examples or the primary binary if available and just check out out how things are called/done around there. Then run an example through callgrind and visualize the call graph in kcachegrind to get an idea of how often things are called and where and where the heavy lifting happens. That last step is optional and really depends on the type of project. Then I use my code editor and lots of searching and call site lookups to get a better idea of how things are used. |
|