Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I was worried about holding the values because I thought it would take extra memory. I guess that is the trade off we get from restricting the API. Commented Oct 18, 2017 at 3:01
  • 1
    @vantamula You are right that it will take extra memory, but for values like these, I wouldn't worry about it. You should have more than enough available to handle this case. Still though, you're right, it is a tradeoff. As with every tradeoff, you need to decide if a cleaner interface is worth the cost of extra memory. Personally, I think it is :) Commented Oct 18, 2017 at 12:19