xbattlax commented on issue #1958:
URL: https://github.com/apache/iceberg-rust/issues/1958#issuecomment-3737419084
+1 for Option A.
At iceberg scale, giving up runtime control means giving up performance
that matters when processing petabytes.
Suggested approach - zero-cost default with opt-in flexibility:
```
#[cfg(not(feature = "custom-runtime"))]
pub use tokio_runtime::*;
#[cfg(feature = "custom-runtime")]
pub trait Runtime: Send + Sync + 'static { ... }
```
Default path gets Tokio direct calls with no boxing overhead. Custom path
pays the trait cost only when needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]