You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/07/09 02:10:48 UTC
[GitHub] [calcite] julianhyde commented on pull request #2053: [CALCITE-4102] Some improvements to aggregate related operations
julianhyde commented on pull request #2053:
URL: https://github.com/apache/calcite/pull/2053#issuecomment-655853211
FWIW, I intentionally used `HashMap` rather than `HashSet`. `HashSet` uses a `HashMap` under the covers. I figured I'd save an object allocation. Yours is a bit clearer, a bit less efficient.
`ret` is not a great name for a variable; also declare it as `List<Integer>` not `ArrayList<Integer>`.
----------------------------------------------------------------
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