Closed Nucs closed 5 years ago
Dont see really any valid use cases. I mean, the network will be even a bigger loss than this simple parsing thing. I should unwatch symbols when no one is using the data itself.
You don't bake a cake if no one is hungry. You don't parse the message if no one will receive the update through the event.
Looking at
Level1MessageHandler
, every message that comes in is first parsed and only then it's related event is checked if it there is any delegates registered to it. Skipping the parsing will actually improve performance on heavy applications. note: this might be relevant to all message handlers.Example for a fix:
@mathpaquette, Let me know if you want a PR.