fallintoplace opened a new pull request, #2138:
URL: https://github.com/apache/iceberg-go/pull/2138

   **What**
   
   Reduce sorting allocations in MemFS `WalkDir`.
   
   **Why**
   
   The comparator split both paths into slices on every comparison.
   
   **Implementation**
   
   Compare path segments directly with `strings.IndexByte`. Keep root-first and 
component ordering. Add focused `WalkDir` benchmarks.
   
   **Benchmark**
   
   Local comparator benchmark with 5,000 paths: about **2.2x faster**. 
Allocations: **124,333 -> 3**.
   


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