[Github-comments] [geany/geany] Make geany -g tags output reproducible (#1989)

elextr notifications at xxxxx
Thu Nov 8 20:42:13 UTC 2018


@kugel- true.  

But it doesn't matter, its a hash not the key, they can collide, it just costs time if they do.  Nothing should break.  Also what do you get for "inode" for files served via Samba?  

But the fact that the key comparisons are wrong in the current code means it just creates a list of all the files using a g_hash in pseudo random order, then copies that list to a g_list, no de-duping, nothing, nada, useless waste of time.

So unless somebody can identify the "trouble" having multiple copies of the same file will cause (apart from some space and time) then I think we should just expand the globs straight into the g_list and thats it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1989#issuecomment-437148375
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181108/de660017/attachment-0001.html>


More information about the Github-comments mailing list