Github user okram commented on a diff in the pull request:

    https://github.com/apache/incubator-tinkerpop/pull/254#discussion_r55836702
  
    --- Diff: 
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/sideEffect/GroupSideEffectStep.java
 ---
    @@ -77,7 +77,7 @@ public void modulateBy(final Traversal.Admin<?, ?> 
kvTraversal) {
     
         @Override
         protected void sideEffect(final Traverser.Admin<S> traverser) {
    -        final Map<K, Object> map = new HashMap<>();
    +        final Map<K, Object> map = new HashMap<>(1);
    --- End diff --
    
    That line of code is as you have it in master/. Was done in another PR. 
Also, the load factor can't be 1.0 as that map will presumably grow on 
reduction.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to