Improve Session interface for extensibility#3543
Conversation
|
Hi @weswigham, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
|
@weswigham can you work with @zhengbli and @billti to verify performance. we have found the dispatcher loop to be very sensitive to refactoring, causing some major perf regressions. |
7076d76 to
d1a2ae5
Compare
|
It seems what he did was moving the callbacks from the switch case statements to a map; after trying it out I have similar performance with sublime text. So LGTM 👍 |
|
Is there any other work that needs to be done for this PR? |
Improve Session interface for extensibility
Following the discussion on #3513. However, I have opted to complete my ideas in this regard for the purposes of discussion, and have entirely factored out the old massive case statement and replaced it with a map.