Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/2284#issuecomment-54922492
  
    @marmbrus I vote for `getAs[T](i: Int)`.
    
    @chenghao-intel As Michael has just said, avoiding boxing cost is the major 
design rationale behind these setters/getters. Unfortunately, we haven't fully 
leverage this design and boxing still happens on some critical paths, for 
example, building/accessing in-memory columnar buffers. PR #2327 is an attempt 
to (partially) solve this problem.


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

Reply via email to