alessandro-nori commented on issue #696:
URL: https://github.com/apache/iceberg-go/issues/696#issuecomment-4419010891

   I checked the binary size before and after introducing the driver pattern 
for the io package and confirmed it is much smaller now.
   
   ```
   package main
   
   import (
        "context"
        "fmt"
   
        "github.com/apache/iceberg-go/io"
   )
   
   func main() {
        fs, err := io.LoadFS(context.Background(), map[string]string{}, 
"file:///tmp")
        fmt.Println(fs, err)
   }
   ```
   
   I used `gorun list -deps . 2>/dev/null | wc -l | tr -d ' '` to count the 
number of dependencies.
   
   | commit sha | binary size | packages |
   | -----------|----|---|
   | 7b2ea9b0393dccccefeffed93095fc44723066f6 (before) | 41MB |  836 |
   |055eee547baf6fc6e00d66a61479b22b471b92ca (current main) | 1.8MB | 70 |
   


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