RamakrishnaChilaka commented on PR #15358:
URL: https://github.com/apache/lucene/pull/15358#issuecomment-3458128799

   Just to add, would it make sense to handle this in a localized way within 
ForUtil's encode method, for example:
   
   ```
       if (out instanceof OutputStreamDataOutput) {
         out.writeInts(tmp);
       }
   ```
   This way, we could retain the encoding throughput benefits without 
introducing changes to the DataOutput interface itself.


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