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

 
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 
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 
Quote:
Linq makes it not a fringe case since it uses enumerations all over the place.
You disliked Linq? Normal code doesn't require Linq? Did you make this microoptimization to prove you're better than Linq?

Quote:
It's also a known documented issue with .NET. I'm far from the first person to make this observation. Folks from Microsoft have said as much.
Is that the basis of your post? Maybe you missed the point; 20 ms is nothing in a background thread, and I would remove your code from any codebase for being unreadable and obfuscating. I gladly pay a few ms for readability, maintenance and fewer bugs. That is implying that there's only .NET devs and that there's no person available who can write in a language that compiles to native. You call those things "libraries".

Quote:
And yes, you're looking for a fight. I'm an adult, which is why I was looking for a discussion. You're clearly not capable of something like that so we're done.
So, that is your defense? You little twat copied MS and you can't handle me saying it ain't so?

Thank you for the limitless list of arguments and examples.

Wait, there's none?

"Folks from MS have said".. and you copied and try to impress. Sorry, but you didn't with your 20 ms. As if all code is a regex-lookup, which you present as if your micro optimization invalidates every foreach. If you want to regex, use a native language. I will BREAK your nonsense.

I do not care about you copying MS and presenting it as "your" observation. I just puke over the generalization Suspicious | :suss:
Bastard Programmer from Hell Suspicious | :suss:
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

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 
GeneralRe: In .NET enumeration is slow Pin
trønderen20-Jan-24 8:28
trønderen20-Jan-24 8:28 
GeneralRe: In .NET enumeration is slow Pin
PIEBALDconsult18-Jan-24 9:53
mvePIEBALDconsult18-Jan-24 9:53 
GeneralRe: In .NET enumeration is slow Pin
honey the codewitch18-Jan-24 9:55
mvahoney the codewitch18-Jan-24 9:55 
GeneralRe: In .NET enumeration is slow Pin
Eddy Vluggen18-Jan-24 15:17
professionalEddy Vluggen18-Jan-24 15:17 
GeneralRe: In .NET enumeration is slow Pin
Dave Kreskowiak18-Jan-24 11:09
mveDave Kreskowiak18-Jan-24 11:09 

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.