4 ms·
This is to be expected with what are essentially pointers to heap objects. The actual code being executed only manipulates machine-word-sized values with the sa
by jhgb 4y ago
This is to be expected with what are essentially pointers to heap objects. The actual code being executed only manipulates machine-word-sized values with the same semantics, so it makes little sense to have copies of the same code.
- astrange 4y agoIt could be useful to duplicate it for devirtualization, and that's more likely with a JIT than compilation since it doesn't cost code size on disk.
- jhgb 4y agoWell, yes. But you can't devirtualize until you know the types as well as possible, which is after "de-generifying", so as to speak (I don't really know what terminology .NET uses for this).