mbutrovich opened a new issue, #3646:
URL: https://github.com/apache/iceberg-rust/issues/3646

   ### Is your feature request related to a problem or challenge?
   
   The `pyiceberg-core` wheel builds with `opt-level = "z"` 
([`bindings/python/pyproject.toml#L57-L62`](https://github.com/apache/iceberg-rust/blob/832a4eba7a732baebbbd7f76bb6fd6225f1db1e9/bindings/python/pyproject.toml#L57-L62)),
 which #1841 chose for wheel size. In the baseline in 
apache/iceberg-python#4007, `opt-level = 3` makes the parse about 1.6x faster 
and the end-to-end read about 1.4x faster. This is Task 2 of #3262.
   
   ### Describe the solution you'd like
   
   Build the release wheel with `opt-level = 3`. `opt-level = 2`, or `"z"` 
everywhere except the hot crates, are alternatives if the size cost is too 
high. Building `v0.10.1` with `opt-level = 3` showed three problems. I haven't 
checked them on `main`.
   
   - `iceberg-storage-opendal` fails to compile with "queries overflow the 
depth limit" while computing the layout of an `opendal_core` async fn body. 
Raising the crate's recursion limit to 256 fixes it.
   - With `strip = true`, the resulting `.so` fails to load on macOS with 
"mis-aligned LINKEDIT string pool". It loads with `strip = false`.
   - The macOS arm64 wheel grows from 12.6 MB to 21.6 MB.
   
   ### Willingness to contribute
   
   I can contribute to this feature independently
   


-- 
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]

Reply via email to