-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove mInfo field from Cancelable by default. #29262
Remove mInfo field from Cancelable by default. #29262
Conversation
It's big, and totally unused. The opt-in to enable it is for backwards compat. If we care about preserving compat while also ensuring that some internal Cancelable uses never have this field, that is also possible, but more complicated.
Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com>
👏🎉 that one snuck in there didn't it 😅 |
PR #29262: Size comparison from 3400d1d to 0fa434f Increases (24 builds for bl602, bl702, bl702l, cc32xx, psoc6, telink)
Decreases (63 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
Full report (65 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Do we need the backward compat? I think it could have been removed in #14581 |
I suspect even if somebody spotted this storage they would not have risked stashing anything there. Keeping an option seems safe, but I would suggest we aim to remove it later since it likely does not impact anyone. |
* Remove mInfo field from Cancelable by default. It's big, and totally unused. The opt-in to enable it is for backwards compat. If we care about preserving compat while also ensuring that some internal Cancelable uses never have this field, that is also possible, but more complicated. * Apply suggestion from code review. Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com> --------- Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com>
It's big, and totally unused.
The opt-in to enable it is for backwards compat. If we care about preserving compat while also ensuring that some internal Cancelable uses never have this field, that is also possible, but more complicated.