Click here to Skip to main content
15,868,076 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: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 2:16
professionalBillWoodruff2-Jun-20 2:16 
GeneralRe: State machine performance woes in .NET Pin
kalberts2-Jun-20 2:30
kalberts2-Jun-20 2:30 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 2:36
professionalBillWoodruff2-Jun-20 2:36 
GeneralRe: State machine performance woes in .NET Pin
F-ES Sitecore2-Jun-20 2:19
professionalF-ES Sitecore2-Jun-20 2:19 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 2:37
professionalBillWoodruff2-Jun-20 2:37 
GeneralRe: State machine performance woes in .NET Pin
F-ES Sitecore2-Jun-20 3:33
professionalF-ES Sitecore2-Jun-20 3:33 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 5:31
professionalBillWoodruff2-Jun-20 5:31 
GeneralRe: State machine performance woes in .NET Pin
kalberts2-Jun-20 8:34
kalberts2-Jun-20 8:34 
Look at the original open source "P4" Pascal compiler, from before the "open source" concept was invented Smile | :) : Its only implementation technique was a plain jump table of max 256 entries. HTCW has observed (at least she claims in the root entry of this thread) hash tables.

You can handle all swich variants using if/else sequences. If I were to write this part of a compiler, I would start out with if/else as the only and last resort. As I got around to it, I would gradually add other alternatives to take care of those cases suited for e.g. small jump tables, hash tables etc., and only when those alternatives were not applicable would I fall through to the if/else as the default alternative.
GeneralRe: State machine performance woes in .NET Pin
jsc422-Jun-20 10:07
professionaljsc422-Jun-20 10:07 
GeneralRe: State machine performance woes in .NET Pin
kalberts2-Jun-20 3:43
kalberts2-Jun-20 3:43 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 5:00
mvahoney the codewitch2-Jun-20 5:00 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 5:29
professionalBillWoodruff2-Jun-20 5:29 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 6:38
mvahoney the codewitch2-Jun-20 6:38 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 8:06
professionalBillWoodruff2-Jun-20 8:06 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 9:39
mvahoney the codewitch2-Jun-20 9:39 
GeneralRe: State machine performance woes in .NET Pin
Super Lloyd2-Jun-20 2:24
Super Lloyd2-Jun-20 2:24 
GeneralRe: State machine performance woes in .NET Pin
obermd2-Jun-20 3:34
obermd2-Jun-20 3:34 
GeneralRe: State machine performance woes in .NET Pin
User 110609792-Jun-20 6:27
User 110609792-Jun-20 6:27 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 6:33
mvahoney the codewitch2-Jun-20 6:33 
GeneralRe: State machine performance woes in .NET Pin
kalberts2-Jun-20 8:40
kalberts2-Jun-20 8:40 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 9:37
mvahoney the codewitch2-Jun-20 9:37 
GeneralRe: State machine performance woes in .NET Pin
kalberts2-Jun-20 9:57
kalberts2-Jun-20 9:57 
GeneralRe: State machine performance woes in .NET Pin
honey the codewitch2-Jun-20 10:12
mvahoney the codewitch2-Jun-20 10:12 
GeneralI have such mixed feelings about python Pin
honey the codewitch2-Jun-20 0:51
mvahoney the codewitch2-Jun-20 0:51 
GeneralRe: I have such mixed feelings about python Pin
OriginalGriff2-Jun-20 0:55
mveOriginalGriff2-Jun-20 0:55 

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.