Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Changes in hashing
Re: Changes in hashing [message #54179 is a reply to message #54178] Fri, 05 June 2020 13:02 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Quote:
first of all, using GetHashValue as unique ID is probably not a good idea, but I guess you mean something slightly different there.


Yeah, The IDs are not "really" meant to be unique. Bad wording. They are used in cache management, and dword is sufficient in my case.

Quote:
But exactly for this reason we have (for quite a long time) FoldHash function, which IMO seems ideal for you scenario. It takes hash_t and produces dword, while bringing entropy back to lowest bits


Well, I did not know that, because, you know, lack of documentation... Smile But this is good news. I'll test with FoldHash and look into the code ASAP.

Quote:


(BTW, look at implementation, I think it is one of more clever ideas from me...


You have a lot of clever ideas. The main reason why I prefer U++. Smile

Thank you!

Best regads,
Oblivion


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2020.1 rc
Next Topic: Global Value Cache
Goto Forum:
  


Current Time: Sun May 12 20:05:16 CEST 2024

Total time taken to generate the page: 0.02479 seconds