|
-
Jun 19th, 2023, 08:16 PM
#19
Re: Simple and fast, lightweight HashList-Class (no APIs)
 Originally Posted by Eduardo-
Attached is a version where values are Long and Keys are String.
It uses a bit less memory and should be also a faster.
Also the parameters in the Add method were swapped to meet the VB.Collection.
Is there any reason why in cHash they have different order?
Very good improvement.
Although Olaf provides the source code of cHashD, I would like RC6 to provide two cHashD forks:
(1) cStrVarHashD (String-Variant)
(2) cStrLngHashD (String-Long)
This not only allows RC6 users to more concisely emulate C# generics, but also allows me to avoid the biggest trouble/annoyance, which is that vbTextCompare is not valid for me in VB6-IDE environment.
Also, my parsers needs high-performance HashD, and optimized cStrLngHashD and cStrVarHashD are very important to me.
Last edited by SearchingDataOnly; Jun 19th, 2023 at 08:26 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|