Menu
VContainer
Getting Startedv1.4.4GitHub
VContainer
  • Getting Started
  • v1.4.4
  • GitHub
  • ABOUT
    • What is VContainer
    • What is DI ?
  • GETTING STARTED
    • Installation
    • Hello World
  • RESOLVING
    • Constructor Injection
    • Method Injection
    • Property / Field Injection
    • Auto inject GameObject in the scene
    • Implicit Relationship Types
    • Use Container Directory
  • REGISTERING
    • Register Type
    • Register Factory
    • Register MonoBehaviour
    • ScriptableObject Integration
    • Register Callbacks
  • SCOPING
    • Lifetime Overview
    • Loading additional child scope via scene or prefab
    • Generate child scope with code first
    • Project root LifetimeScope
  • UNITY INTEGRATION
    • Dispatching Unity's Lifecycle events
    • Integrating with ECS (beta)
  • 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