Commit 87c3bfb
committed
Time::HiRes.xs switch croak_xs_unimplemented() to cv_name(), less bloat
-I measured S_croak_xs_unimplemented() at 0x88 bytes of MSVC 2022 -O1 x64
machine code. The optimization probably isn't worth it if break even is
0x88/(7*3) = 6.47 unimpl stubs. Just use exported function cv_name(),
we don't need to perfectly match croak_xs_usage()'s text/logic.1 parent 09a40ae commit 87c3bfb
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
982 | 986 | | |
983 | 987 | | |
984 | 988 | | |
| |||
1002 | 1006 | | |
1003 | 1007 | | |
1004 | 1008 | | |
| 1009 | + | |
1005 | 1010 | | |
1006 | 1011 | | |
1007 | 1012 | | |
| |||
0 commit comments