Skip to content

revert forceinline for MakeString - #21943

Merged
fs-eire merged 3 commits into
mainfrom
fs-eire/size-opt
Sep 3, 2024
Merged

revert forceinline for MakeString#21943
fs-eire merged 3 commits into
mainfrom
fs-eire/size-opt

Conversation

@fs-eire

@fs-eire fs-eire commented Aug 31, 2024

Copy link
Copy Markdown
Contributor

Description

revert forceinline for MakeString.

This change reverts #21893. The forceinline was introduced for performance considerations, however it turns out to have some notable binary size increase, which is a concern for some binary size sensitive platforms like Android.

I made a few tests locally and found it is not related to whether or not have used the template struct if_char_array_make_ptr_t trick. So I have to revert this back.

@fs-eire
fs-eire requested review from edgchen1 and skottmckay August 31, 2024 08:48
@fs-eire
fs-eire merged commit 2577922 into main Sep 3, 2024
@fs-eire
fs-eire deleted the fs-eire/size-opt branch September 3, 2024 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants