Github user Tibor17 commented on the pull request:

    https://github.com/apache/maven/pull/72#issuecomment-158668300
  
    Nowadays execution time of array allocation is logarithmic 
function(array.length).
    One way or another since of Java 6 the the objects are allocated in the 
stack instead of in main memory. This did speed up the entire VM in Java 6 
(u45). So regarding array size with length 512 in StringBuilder and 3GHz CPU, 
the allocation take much less than 150 nano seconds because the allocation is 
logarithmic maybe 50 nanos or so.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to