Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove js_unlikely macro #370

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

bnoordhuis
Copy link
Contributor

It was a wrapper around gcc's __builtin_expect macro but it was only used in three places and not in a way that suggests it really helps branch prediction on modern (or even not so modern) CPUs.

Refs: #369

It was a wrapper around gcc's __builtin_expect macro but it was only
used in three places and not in a way that suggests it really helps
branch prediction on modern (or even not so modern) CPUs.

Refs: quickjs-ng#369
@bnoordhuis bnoordhuis merged commit 325ce95 into quickjs-ng:master Apr 12, 2024
46 checks passed
@bnoordhuis bnoordhuis deleted the del-js_unlikely branch April 12, 2024 10:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants