Github user srowen commented on the issue:
https://github.com/apache/spark/pull/15713
It leads to a bigger memory footprint because of the extra elements that
may be allocated but unused in the array? and the performance win is probably
avoiding those branches? I could believe it.
But then there's little point to this class. Reading the original problem
statement, I wonder why it wasn't easier to just allocate an ArrayBuffer with a
small initial capacity?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]