Menu
VContainer
Getting Startedv1.7.2GitHub
VContainer
  • Getting Started
  • v1.7.2
  • GitHub
  • ABOUT
    • What is VContainer
    • What is DI ?
  • Getting Started
    • Installation
    • Hello World
  • Resolving
    • Constructor Injection
    • Method Injection
    • Property/Field Injection
    • MonoBehaviour
  • Registering
    • Register Plain C# Type
    • Register Factory
    • Register MonoBehaviour
    • Register ScriptableObject
    • Register Callbacks
  • Integrations
    • Plain C# Entry point
    • UniTask
    • UniRx
    • ECS (beta)
  • Scoping
    • Lifetime Overview
    • Generate child scope via scene or prefab
    • Generate child scope with code first
    • Project root LifetimeScope
  • Container API
    • Use Container Directory
    • Implicit Relationship Types
  • Optimization
    • Pre IL Code Generation
    • Async Container Build
    • Parallel Container Build
  • Comparing to other libraries
    • Zenject

Parallel Container Build

If you enable VCONTAINER_PARALLEL_CONTAINER_BUILD compilation flag, VContainer will perform container builds in Parallel.

This is the solution when you have a lot of objects to register.

⚠️ If there are few objects to register, this will be slower.

Edit this page
Previous
Async Container Build
Next
Comparing to Zenject