diff options
Diffstat (limited to 'docs/pages/6 - Extending Mill.md')
-rw-r--r-- | docs/pages/6 - Extending Mill.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/pages/6 - Extending Mill.md b/docs/pages/6 - Extending Mill.md index 299d8e76..d5ec2dbc 100644 --- a/docs/pages/6 - Extending Mill.md +++ b/docs/pages/6 - Extending Mill.md @@ -64,6 +64,10 @@ def doWebpackStuff(webpackProcess: Process, sources: Seq[PathRef]): PathRef = ?? def compiledJavascript = T{ doWebpackStuff(webpackWorker(), javascriptSources()) } ``` +Mill itself uses `T.worker`s for it's built-in Scala support: we keep the Scala +compiler in memory between compilations, rather than discarding it each time, in +order to improve performance. + ## Custom Modules ```scala |