Thank you, @Warfley.
Here is my configuration.
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 GHz
Lazarus 3.4 (rev lazarus_3_4) FPC 3.2.2 x86_64-win64-win32/win64
Optimization level: -(O1 + quick optimizations) (-O2)
The code above was used.
Results:
direct call | inline call| pointer call|
1422 1359 1375
1360 1375 1359
1375 1360 1359
1375 1359 1360
1390 1360 1343
1360 1375 1344
1375 1359 1359
1375 1375 1360
1390 1375 1344
1375 1359 1360