|
-
Jun 21st, 2023, 03:56 AM
#34
Re: Simple and fast, lightweight HashList-Class (no APIs)
Originally, I just asked a simple question.
In the previous example, the primary key is a string, and the data is: integer
My usage is: primary key: value, the data is also a value, how to optimize it better, or how to change the source code of this dictionary object, because many people will not change it.
Then adding or querying the primary key is:
add(key as long, value as long)
add(byval key as long, value as long)
Which is faster, I just asked 2 sentences, and you guys responded with hundreds of words, but did not solve the actual problem.
I hope there will be no war in the world, no atomic bombs, no missiles.
Of course, everyone can discuss technical issues on the forum, but it should not be so intense.
at #75,you say , can you write a new class for this?
so i finished in #78.
I would have expected someone more professional to implement this class module with a simple modification
Since I'm not familiar with dictionary objects, modification takes hours.
Last edited by xiaoyao; Jun 21st, 2023 at 04:01 AM.
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
|