@techee the code 
[here](https://github.com/geany/geany/blob/3787677de43204d1396c8f5439e82e90fe61b8a4/src/document.c#L2759)
 is fundamentally flawed, it only compares the hashes, not the strings, so any 
hash clash between different strings will result in the keywords not being 
loaded.

Personally I would just keep the string and do a compare, its unlikely to be 
slower than calculating a hash.  That would mean keeping the string, but the 
memory usage is unlikely to be significant compared to the tagmanager structs 
it is created from.
 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3550#issuecomment-1713509796
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3550/[email protected]>

Reply via email to