Xuanwo commented on issue #9352:
URL: https://github.com/apache/opendal/issues/9352#issuecomment-7252001444

   @chitralverma, the struct growth you measured is a real constraint. I’d keep 
the 98-field snapshot for this release, with matching C header and library 
versions and matching Go companion modules. #9315 left room to consider 
accessors separately, and I’d leave #9353 in draft for now. [Next-release 
layout agreed in 
#9264](https://github.com/apache/opendal/issues/9264#issuecomment-7217093607)
   
   In #9353, Go’s `Info()` would make 98 FFI calls to read the capability 
fields even when the caller only wants the scheme. Zig would also make 98 calls 
when building a full snapshot. These are call counts from the draft. We haven’t 
measured the timing impact. [Go 
snapshot](https://github.com/apache/opendal/blob/350de561624268f00958e2c99bb101978b9d4eed/bindings/go/capability.go#L140)
 · [Zig 
snapshot](https://github.com/apache/opendal/blob/350de561624268f00958e2c99bb101978b9d4eed/bindings/zig/src/opendal.zig#L192)
   
   Do you have a downstream deployment where a binary built against an older 
header needs to load a newer library without coordinated updates, and if so, 
which consumers and upgrade orders would it need to support? For that case, we 
could keep the existing symbol for the initially shipped layout and consider a 
separately named, size-aware snapshot alongside accessors.
   
   *AI-generated reply.*


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

Reply via email to