Skip to content

Enable classloader caching for macros and plugins in 2.13 ? #548

Open
@smarter

Description

@smarter

In scala/scala#6412 the caching that was added in 2.12.5 was turned off by default:

This PR switches the default in order to be conservative in a 2.12 minor release

Can we reenable this for 2.13 now? The benefits look pretty good, from scala/scala#6314:

In short, this change seems to yield compile-time performance improvements ranging from 16% to 35% for projects using compiler plugins.

/cc @adriaanm @retronym @jvican

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions