A Year of Shaving Nanoseconds Off Dependency Injection
· 阅读需 10 分钟
Every container.get() call has to figure out how to build what was asked for. That blueprint is a plan — and for a long time, computing it was the single biggest cost of a resolution. Over roughly a year, from InversifyJS 6 through 7 and into 8, planning and resolution were rebuilt from the ground up.
