-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/arcIssue related to ARC (dependency injection)Issue related to ARC (dependency injection)kind/enhancementNew feature or requestNew feature or request
Milestone
Description
Description
The 'ArcContainerImpl' is eagerly initializing an uuid
field, which requires a Secure random call; according to flamegraphs including native time, this is taking 30% of the time it takes to boot Arc so it would be nice to skip it.
Implementation ideas
The uuid
field seems only necessary for toString()
. I think it could be lazily initialized, I'm not sure what expectation there is in terms of having the same uuid (or not) of the same app when it's build as native.
I suppose it should mimick the JVM semantics, which implies lazy initialization would actually be better.
Metadata
Metadata
Assignees
Labels
area/arcIssue related to ARC (dependency injection)Issue related to ARC (dependency injection)kind/enhancementNew feature or requestNew feature or request