The loop code is quite hot, thus it should not be too bad to save a method call here. self::get() is still called to eventually create&assign the default driver, if it is missing.
Also instantiate the factories lazily. This additionally avoids having an unused default loop object in many cases.
The loop code is quite hot, thus it should not be too bad to save a method call here.
self::get()
is still called to eventually create&assign the default driver, if it is missing.Also instantiate the factories lazily. This additionally avoids having an unused default loop object in many cases.