Message364320
Oh, I forgot a cool advantage that I discovered late: debuggers and profilers understand inlined code and are able to get the name of the static inline function, whereas it's not possible to do that with macros. If I recall correctly, it works even if the function is inlined. |
|
Date |
User |
Action |
Args |
2020-03-16 13:50:50 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, petr.viktorin, shihai1991 |
2020-03-16 13:50:50 | vstinner | set | messageid: <1584366650.79.0.861625182366.issue39968@roundup.psfhosted.org> |
2020-03-16 13:50:50 | vstinner | link | issue39968 messages |
2020-03-16 13:50:50 | vstinner | create | |
|