Click here to Skip to main content
15,887,485 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.

 
GeneralWordle 463 Pin
Amarnath S24-Sep-22 14:25
professionalAmarnath S24-Sep-22 14:25 
GeneralRe: Wordle 463 Pin
Vivi Chellappa24-Sep-22 15:41
professionalVivi Chellappa24-Sep-22 15:41 
GeneralRe: Wordle 463 Pin
StarNamer@work24-Sep-22 16:04
professionalStarNamer@work24-Sep-22 16:04 
GeneralRe: Wordle 463 Pin
OriginalGriff24-Sep-22 18:09
mveOriginalGriff24-Sep-22 18:09 
GeneralRe: Wordle 463 Pin
pkfox24-Sep-22 22:07
professionalpkfox24-Sep-22 22:07 
GeneralRe: Wordle 463 Pin
Sandeep Mewara24-Sep-22 22:46
mveSandeep Mewara24-Sep-22 22:46 
GeneralRe: Wordle 463 Pin
jmaida25-Sep-22 9:04
jmaida25-Sep-22 9:04 
General"Use C!" they said. "It will be fun!", they said Pin
honey the codewitch24-Sep-22 5:42
mvahoney the codewitch24-Sep-22 5:42 
I already don't like writing caches.

I especially don't like writing "generalized" containers without templates.

And yet here I am, needing a glyph cache to bring my font rendering from 6fps closer to 23fps (my target baseline)

And debating about whether it's worth it to generalize it in order to save flash space if someone else needs a similar facility in LVGL.

The hashtable part is relatively easy. The least recently accessed expiration mechanism is less so.

I just don't like writing caches. It combines everything I don't like about writing containers with even more complexity that's easy to get wrong. And it all has to perform or it defeats its own purpose. Meh.
To err is human. Fortune favors the monsters.

GeneralRe: "Use C!" they said. "It will be fun!", they said Pin
RickZeeland24-Sep-22 7:13
mveRickZeeland24-Sep-22 7:13 
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 
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 

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.