We're updating the issue view to help you get more done. 

The NotNullOrEmpty argument check should not call the NotNull argument check for strings

Description

The NotNullOrEmpty argument check is significantly faster when the code of the NotNull argument check is manually inlined. The JIT compiler does not inline the NotNullOrEmpty call with the contained NotNull call.

The content of the NotNull check must therefor be inlined manually, instead of calling the method.


According to the benchmarking results in RM-7380, a direct argument check only takes half as much time as the inlined method for the NotNullOrEmpty check.

Assignee

Marcel Holle

Reporter

Marcel Holle

Labels

None

Components

Fix versions

Priority

Normal
Configure