--
You received this message because you are subscribed to the Google Groups "mojo-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojo-dev+u...@chromium.org.
The callbacks run in the handler for a RawRecievePort. The handlers for RawReceivePorts bypass Zones by design to avoid their runtime cost.
I agree. It's something we should benchmark.
I mention this due to prior experiences with protobufs on Android. Code footprint (especially method count) was a major cause of us officially discouraging use of protobufs in Android which was inconvenient to many people. Even with lighter weight code generators, new tools were needed to work around limits in the VM.
The economics may be different for Dart, but in general, the more code, the longer it takes to download a program and get it running.
For example, I suggested to Vardhan that several common Mojo encoding operations could be efficiently implemented using tables while reducing footprint.
Anyhow, stuff to think about.
Jeff.