Skip to content

Remove force_inline macro#1335

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:no-force-inline
Feb 9, 2026
Merged

Remove force_inline macro#1335
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:no-force-inline

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Don't second-guess the compiler, leave it up to the compiler when or when not to inline.


@saghul what are your thoughts on the no_inline macro?

Don't second-guess the compiler, leave it up to the compiler when or
when not to inline.
@saghul
Copy link
Copy Markdown
Contributor

saghul commented Feb 9, 2026

@saghul what are your thoughts on the no_inline macro?

I'd apply the same "no second guessing" principle. Maybe throw a quick benchmark to make sure we are not hitting any pathological case, out of abundant caution?

@bnoordhuis
Copy link
Copy Markdown
Contributor Author

Yep, sounds good, will do (though not today.)

@bnoordhuis bnoordhuis merged commit 1402d85 into quickjs-ng:master Feb 9, 2026
122 checks passed
@bnoordhuis bnoordhuis deleted the no-force-inline branch February 9, 2026 22:55
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