Click here to Skip to main content
14,580,625 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
Member 79891222-Jun-20 2:30
MemberMember 79891222-Jun-20 2:30 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 2:36
mveBillWoodruff2-Jun-20 2:36 
GeneralRe: State machine performance woes in .NET Pin
F-ES Sitecore2-Jun-20 2:19
mveF-ES Sitecore2-Jun-20 2:19 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 2:37
mveBillWoodruff2-Jun-20 2:37 
GeneralRe: State machine performance woes in .NET Pin
F-ES Sitecore2-Jun-20 3:33
mveF-ES Sitecore2-Jun-20 3:33 
GeneralRe: State machine performance woes in .NET Pin
BillWoodruff2-Jun-20 5:31
mveBillWoodruff2-Jun-20 5:31 
GeneralRe: State machine performance woes in .NET Pin
Member 79891222-Jun-20 8:34
MemberMember 79891222-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
Member 79891222-Jun-20 3:43
MemberMember 79891222-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
mveBillWoodruff2-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
mveBillWoodruff2-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
MemberSuper Lloyd2-Jun-20 2:24 
GeneralRe: State machine performance woes in .NET Pin
obermd2-Jun-20 3:34
Memberobermd2-Jun-20 3:34 
GeneralRe: State machine performance woes in .NET Pin
0x01AA2-Jun-20 6:27
mve0x01AA2-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
Member 79891222-Jun-20 8:40
MemberMember 79891222-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
Member 79891222-Jun-20 9:57
MemberMember 79891222-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 
GeneralRe: I have such mixed feelings about python Pin
Member 79891222-Jun-20 1:10
MemberMember 79891222-Jun-20 1:10 

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.