Click here to Skip to main content
15,887,262 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: Wordle 944 - 4 4 me Pin
pkfox18-Jan-24 21:02
professionalpkfox18-Jan-24 21:02 
GeneralRe: Wordle 944 Pin
Sander Rossel18-Jan-24 21:41
professionalSander Rossel18-Jan-24 21:41 
GeneralRe: Wordle 944 Pin
GuyThiebaut18-Jan-24 22:43
professionalGuyThiebaut18-Jan-24 22:43 
GeneralRe: Wordle 944 Pin
Cp-Coder19-Jan-24 1:29
Cp-Coder19-Jan-24 1:29 
GeneralRe: Wordle 944 (3/6) Pin
Jeremy Falcon19-Jan-24 6:55
professionalJeremy Falcon19-Jan-24 6:55 
GeneralIn .NET enumeration is slow Pin
honey the codewitch18-Jan-24 7:52
mvahoney the codewitch18-Jan-24 7:52 
AnswerRe: In .NET enumeration is slow PinPopular
Eddy Vluggen18-Jan-24 8:04
professionalEddy Vluggen18-Jan-24 8:04 
GeneralRe: In .NET enumeration is slow PinPopular
honey the codewitch18-Jan-24 8:09
mvahoney the codewitch18-Jan-24 8:09 
It's not 20ms. it's a 30% improvement in overall execution time. If I increase the test size to run for 90 seconds, it would run for about 60 after the optimization. If you get even 20% off the execution in critical code paths it's generally worth the optimization. I mean, of course it depends on the circumstances, and is less true of business development, or development with large teams or teams with with a lot of turnover, where you can't afford the additional maintenance overhead, limited knowledge transferability and cognitive load of optimized code.

That is not a microoptimization. 30% off total execution time is a significant savings.

Adding, I used to use garbage collection in my ISAPI applications because it prevented nasty heap fragmentation due to all the string processing required of web servers. It made things faster. GC isn't always a losing performance proposition. When the situation calls for it, it can increase overall performance.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: In .NET enumeration is slow Pin
Eddy Vluggen18-Jan-24 15:14
professionalEddy Vluggen18-Jan-24 15:14 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch18-Jan-24 15:39
mvahoney the codewitch18-Jan-24 15:39 
AnswerRe: In .NET enumeration is slow Pin
Eddy Vluggen18-Jan-24 16:05
professionalEddy Vluggen18-Jan-24 16:05 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch18-Jan-24 16:15
mvahoney the codewitch18-Jan-24 16:15 
GeneralRe: In .NET enumeration is slow Pin
Eddy Vluggen18-Jan-24 16:34
professionalEddy Vluggen18-Jan-24 16:34 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch18-Jan-24 17:00
mvahoney the codewitch18-Jan-24 17:00 
GeneralRe: In .NET enumeration is slow Pin
Eddy Vluggen19-Jan-24 1:21
professionalEddy Vluggen19-Jan-24 1:21 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch19-Jan-24 1:24
mvahoney the codewitch19-Jan-24 1:24 
GeneralRe: In .NET enumeration is slow Pin
MSBassSinger19-Jan-24 4:07
professionalMSBassSinger19-Jan-24 4:07 
GeneralRe: In .NET enumeration is slow Pin
jschell19-Jan-24 5:17
jschell19-Jan-24 5:17 
GeneralRe: In .NET enumeration is slow Pin
obermd19-Jan-24 3:44
obermd19-Jan-24 3:44 
GeneralRe: In .NET enumeration is slow Pin
trΓΈnderen19-Jan-24 5:44
trΓΈnderen19-Jan-24 5:44 
QuestionRe: In .NET enumeration is slow Pin
Eddy Vluggen18-Jan-24 15:54
professionalEddy Vluggen18-Jan-24 15:54 
GeneralRe: In .NET enumeration is slow Pin
englebart19-Jan-24 15:33
professionalenglebart19-Jan-24 15:33 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch19-Jan-24 16:07
mvahoney the codewitch19-Jan-24 16:07 
GeneralRe: In .NET enumeration is slow Pin
trΓΈnderen20-Jan-24 6:38
trΓΈnderen20-Jan-24 6:38 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch20-Jan-24 7:19
mvahoney the codewitch20-Jan-24 7:19 

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.