lizard icon indicating copy to clipboard operation
lizard copied to clipboard

Generate a hashcode id for every function!

Open cyw3 opened this issue 8 years ago • 2 comments

Suggest lizard can generate a hashcode id for every function! And for the same function, every time using lizard to scan it, its hashcode id is not change, unless its name or params are modifier.

@terryyin

cyw3 avatar Dec 11 '17 13:12 cyw3

So they hash code is calculated from the name and parameters?

Any idea how to do it so that the hash code can be a bit tolerable to changes?

On 11 Dec 2017, at 9:21 PM, cyw3 [email protected] wrote:

Suggest lizard can generate a hashcode id for every function! And for the same function, every time using lizard to scan it, its hashcode id is not change, unless its name or params are modifier.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/terryyin/lizard/issues/209, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwJYhLsdlwo8rNm9kodWx5jNoYdcAW7ks5s_SxRgaJpZM4Q9YUH.

terryyin avatar Dec 12 '17 02:12 terryyin

can use file's path and function's long name with detail namespace and function's params name, and the line number is not suggested.

if lizard have function's hashcode id, it can track the function based on the id between every time scanning. @terryyin

cyw3 avatar Dec 12 '17 06:12 cyw3