Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
In the InternalDataSerializer.basicReadObject, there are if statements for EVERY DSCODE defined. This has two major problems,
- The JIT compiler cannot easily improve this method, due to its size (1.3K)
- There is a worst case performance, that every condition is evaluated to read a serialized object.
Converting this IF structure to switch the 2nd point is improved. The first point is reduced to 754bytes, which is still not optimal to inline but at least smaller and can still be improved.
Attachments
Issue Links
- links to