You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by em...@apache.org on 2021/10/23 17:01:43 UTC

[groovy] 01/01: GROOVY-6954: SC: optimize `map.foo = 'bar'` using `java.util.Map#put(K, V)`

This is an automated email from the ASF dual-hosted git repository.

emilles pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit da12804698e19fa68961e746c7eca3657dbc45f8
Merge: c48525a fd171da
Author: Eric Milles <er...@thomsonreuters.com>
AuthorDate: Sat Oct 23 12:01:34 2021 -0500

    GROOVY-6954: SC: optimize `map.foo = 'bar'` using `java.util.Map#put(K,V)`
    
    GROOVY-6954: SC: optimize `map.foo = 'bar'` using `java.util.Map#put(K,V)`

 .../classgen/asm/sc/StaticTypesCallSiteWriter.java | 124 +++++++++++++--------
 src/test/groovy/bugs/Groovy6954.groovy             |  78 +++++++++++++
 .../classgen/asm/AbstractBytecodeTestCase.groovy   |  11 +-
 3 files changed, 163 insertions(+), 50 deletions(-)