Click here to Skip to main content
15,887,404 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
Greg Utas24-Sep-22 7:24
professionalGreg Utas24-Sep-22 7:24 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 9:03
mvahoney the codewitch24-Sep-22 9:03 
JokeRe: "Use C!" they said. "It will be fun!", they said Pin
Randor 24-Sep-22 12:48
professional Randor 24-Sep-22 12:48 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Eddy Vluggen24-Sep-22 9:20
professionalEddy Vluggen24-Sep-22 9:20 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Daniel Pfeffer24-Sep-22 10:44
professionalDaniel Pfeffer24-Sep-22 10:44 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 10:46
mvahoney the codewitch24-Sep-22 10:46 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Daniel Pfeffer24-Sep-22 13:38
professionalDaniel Pfeffer24-Sep-22 13:38 
GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 15:10
mvahoney the codewitch24-Sep-22 15:10 
my issue with the linked list is heap frag, and I'm wondering whether or not a red-black tree would be better than a hashtable given i don't need to keep things in sorted order.

What I've been doing (although I ran into issues and probably have to try again) is creating a hashtable. I just needed an integer key, and each entry has an age. The age *increases* when you retrieve something. When it needs to make more room it expires items with the smallest age.
To err is human. Fortune favors the monsters.

GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
Randor 24-Sep-22 15:33
professional Randor 24-Sep-22 15:33 
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 
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 

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.