You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by GitBox <gi...@apache.org> on 2020/10/29 07:03:02 UTC

[GitHub] [tika] PeterAlfredLee opened a new pull request #372: Modify some calls of method Collection.toArray

PeterAlfredLee opened a new pull request #372:
URL: https://github.com/apache/tika/pull/372


   Use method with empty array instead of pre size array.
   Because it's more safe and faster.
   
   See also this [blog](https://shipilev.net/blog/2016/arrays-wisdom-ancients/)


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tika] PeterAlfredLee commented on pull request #372: Modify some calls of method Collection.toArray

Posted by GitBox <gi...@apache.org>.
PeterAlfredLee commented on pull request #372:
URL: https://github.com/apache/tika/pull/372#issuecomment-722748153


   I'm glad this helps a little bit. :)


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tika] kkrugler commented on pull request #372: Modify some calls of method Collection.toArray

Posted by GitBox <gi...@apache.org>.
kkrugler commented on pull request #372:
URL: https://github.com/apache/tika/pull/372#issuecomment-722693751


   BTW @PeterAlfredLee - thanks for the ref to https://shipilev.net/blog/2016/arrays-wisdom-ancients/, fun stuff.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tika] kkrugler merged pull request #372: Modify some calls of method Collection.toArray

Posted by GitBox <gi...@apache.org>.
kkrugler merged pull request #372:
URL: https://github.com/apache/tika/pull/372


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org