groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject Re: [PROPOSAL]Provide an option to generate stubs in in-momery file system for better compiling performance
Date Sat, 19 Jan 2019 13:18:34 GMT
Yep ;-)

The stub files normally are very small.
Given 8K by average per stub file, Groovy project contains about 2900 groovy
files(normally one groovy file contains only one groovy class), keeping all
the stubs in memory occupies at most 30M space. In addition, we can clean
stubs in memory when compilation is complete, so the impact on memory is
temporary :-)

Cheers,
Daniel.Sun




-----
Apache Groovy committer 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message