Click here to Skip to main content
15,887,430 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 15:51
mvahoney the codewitch24-Sep-22 15:51 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Randor 24-Sep-22 16:44
professional Randor 24-Sep-22 16:44 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 16:46
mvahoney the codewitch24-Sep-22 16:46 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Randor 24-Sep-22 17:15
professional Randor 24-Sep-22 17:15 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 17:34
mvahoney the codewitch24-Sep-22 17:34 
PraiseRe: "Use C!" they said. "It will be fun!", they said Pin
Randor 24-Sep-22 17:44
professional Randor 24-Sep-22 17:44 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 17:58
mvahoney the codewitch24-Sep-22 17:58 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
jmaida24-Sep-22 11:08
jmaida24-Sep-22 11:08 
A technique I have used is to create an index table of hashtables. Multiple hash tables shortens the look up for each. But, indexing them requires some sort of grouping criteria (or than they can just have an index that is also in a hash table but with no collisions lists, but that gets complicated)

hashtable[0] = keywords,
hashtable[1] = usernames,
hashtable[2] = columns,
...
I agree "recently used" is always more complicated.
One algorithm I have contemplated:
tag each hashtable with a length and use count
tag each entry in table with use count
after some arbitrary hashtable length and use count has been reached then every time a collision list checked (usually hash tables end up with multiple collision lists) remove an entry whose use count is less than some arbitrary use count (say < 2 ). I know I may have missed something, but this is the "gist" of it.
"A little time, a little trouble, your better day"
Badfinger

GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
englebart26-Sep-22 14:39
professionalenglebart26-Sep-22 14:39 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch26-Sep-22 15:08
mvahoney the codewitch26-Sep-22 15:08 
GeneralState of the world - getting kicked in the teeth! X( Pin
honey the codewitch23-Sep-22 22:25
mvahoney the codewitch23-Sep-22 22:25 
GeneralRe: State of the world - getting kicked in the teeth! X( Pin
RickZeeland23-Sep-22 23:21
mveRickZeeland23-Sep-22 23:21 
GeneralRe: State of the world - getting kicked in the teeth! X( Pin
Daniel Pfeffer24-Sep-22 7:47
professionalDaniel Pfeffer24-Sep-22 7:47 
GeneralRe: State of the world - getting kicked in the teeth! X( Pin
honey the codewitch24-Sep-22 9:03
mvahoney the codewitch24-Sep-22 9:03 
GeneralRe: State of the world - getting kicked in the teeth! X( Pin
englebart26-Sep-22 14:44
professionalenglebart26-Sep-22 14:44 
GeneralWorldle 246 easy one Pin
Amarnath S23-Sep-22 14:13
professionalAmarnath S23-Sep-22 14:13 
GeneralRe: Worldle 246 easy one Pin
jmaida24-Sep-22 8:19
jmaida24-Sep-22 8:19 
GeneralRe: Worldle 246 easy one Pin
pkfox25-Sep-22 4:49
professionalpkfox25-Sep-22 4:49 
Generalworldle 245 tough one Pin
jmaida23-Sep-22 12:30
jmaida23-Sep-22 12:30 
GeneralRe: worldle 245 tough one Pin
OriginalGriff23-Sep-22 19:41
mveOriginalGriff23-Sep-22 19:41 
GeneralRe: worldle 245 tough one Pin
Amarnath S23-Sep-22 20:54
professionalAmarnath S23-Sep-22 20:54 
GeneralRe: worldle 245 tough one Pin
jmaida24-Sep-22 10:01
jmaida24-Sep-22 10:01 
GeneralWordle 462 Pin
Vivi Chellappa23-Sep-22 9:32
professionalVivi Chellappa23-Sep-22 9:32 
GeneralRe: Wordle 462 Pin
ChandraRam23-Sep-22 12:47
ChandraRam23-Sep-22 12:47 
GeneralRe: Wordle 462 Pin
Peter_in_278023-Sep-22 12:56
professionalPeter_in_278023-Sep-22 12:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.