You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled on https://github.com/davidlattimore/duplicate-function-checker today and ran it over a relatively large work project that contains heavy use of async-task. Despite building our binary with fat LTO and 1 codegen-unit the tool output that the biggest duplicates in our binary by far were from 4 async-task raw functions: wake, drop_waker, drop_ref, and destroy. It may be worth looking at these functions to see if any pieces can be outlined so that they don't end up duplicated.
The text was updated successfully, but these errors were encountered:
smalis-msft
changed the title
Duplicate raw function monomorphizations
Duplicated raw function monomorphizations
Jun 6, 2024
I stumbled on https://github.com/davidlattimore/duplicate-function-checker today and ran it over a relatively large work project that contains heavy use of async-task. Despite building our binary with fat LTO and 1 codegen-unit the tool output that the biggest duplicates in our binary by far were from 4 async-task raw functions:
wake
,drop_waker
,drop_ref
, anddestroy
. It may be worth looking at these functions to see if any pieces can be outlined so that they don't end up duplicated.The text was updated successfully, but these errors were encountered: