8000 C++: optimize string and char classes by mortend · Pull Request #232 · fuse-open/uno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

C++: optimize string and char classes #232

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

Merged
merged 1 commit into from
Sep 13, 2019
Merged

Conversation

mortend
Copy link
Member
@mortend mortend commented Sep 8, 2019

This change will cause the C++-generator to drop unnecessary calls to
Char_typeof()->Init() and String_typeof()->Init() in all static members
of char and string classes.

This will speed things up because of less overhead at run-time, and static
members of these two classes are typically invoked very frequently.

This change will cause the C++-generator to drop unnecessary calls to
Char_typeof()->Init() and String_typeof()->Init() in all static members
of char and string classes.

This will speed things up because of less overhead at run-time, and static
members of these two classes are typically invoked very frequently.
Copy link
Contributor
@kusma kusma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good plan!

@kusma kusma merged commit b0241fa into fuse-open:master Sep 13, 2019
@mortend mortend deleted the string-optim branch September 13, 2019 19:53
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
0