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 22:05:29 GMT
Tibor17 commented on issue #261: [MNG-6697] New fast model interpolator not using reflection
URL: https://github.com/apache/maven/pull/261#issuecomment-507862291
 
 
   `private static void evaluateArray( Object target, InterpolateObjectAction ctx )` has unpleasant
Java Reflection. Removing the reflection may speedup Maven too. We can cast `target` to `Object[]`
and then iterate over the array in ordinal way.
   Not sure how much reflection can be optimized this way. I did not make the analysis of
whole class.

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