maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven] Tibor17 commented on issue #261: [MNG-6697] New fast model interpolator not using reflection
Date Tue, 02 Jul 2019 21:52:20 GMT
Tibor17 commented on issue #261: [MNG-6697] New fast model interpolator not using reflection
URL: https://github.com/apache/maven/pull/261#issuecomment-507858570
 
 
   If you want to improve the performance this `this.fields = fields.toArray( new CacheField[0]
);` should used real size and not 0; otherwise it goes to reflection.
   
   btw, the `ConcurrentHashMap` uses pseudolocks, not the Posix locking, so it is not so bad
as you may think.

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


With regards,
Apache Git Services

Mime
View raw message