Heavy operations on strings because of _printDebug
Closed this issue · 1 comments
ASGAlex commented
Code like
_printDebug('Message send to isolate: $message');
consumes a lot of resources if your message is relatively big. For example, I pack my classes to binary view using flat buffers, but this debug string ruins all my efforts to send data swiftly.
Changing _debugMode will not solve the problem because debug string is created before function call.
lamnhan066 commented
Thank you for pointing this issue out, I'll release a fix soon.