lamnhan066/isolate_manager

Heavy operations on strings because of _printDebug

Closed this issue · 1 comments

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.
image

Changing _debugMode will not solve the problem because debug string is created before function call.

Thank you for pointing this issue out, I'll release a fix soon.