Open arapov opened 1 year ago
Is there a concrete definition of what the new design should look like?
No (but see #111)
I've updated the description to provide some useful starting points.
BTW the current state of the decoder performance in 3.3 is much better than it was in 3.0. It is of course still not as fast as 1.1.1 was but the performance degradation is no longer catastrophic.
The current state of things:
The routine invoking the decoders first builds all the possible chains of decoders with the current providers, propquery and other parameters. This is cached so this expensive build step is performed just once for given set of parameters (unless providers are loaded/unloaded which invalidates the cache).
Then the decoder chains are iteratively and recursively called until something is decoded and the object construction succeeds.
The problems are:
Possible solutions: