Commit 324683d
committed
Definitions: use @ThreadUnsafe lazy vals
There does not seem to be a noticeable performance difference compared
to thread-safe lazy vals but there is a noticeable impact on bytecode size
(Definitions.class goes from 210 to 168K).1 parent 2c231ff commit 324683d
File tree
2 files changed
+376
-374
lines changed- compiler/src/dotty/tools
- backend/sjs
- dotc/core
2 files changed
+376
-374
lines changed
0 commit comments