Skip to content

Small improvements for mrb_gc_unregister()#6387

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:gc-unregister.1
Oct 21, 2024
Merged

Small improvements for mrb_gc_unregister()#6387
matz merged 1 commit into
mruby:masterfrom
dearblue:gc-unregister.1

Conversation

@dearblue

Copy link
Copy Markdown
Contributor

ARY_PTR() and ARY_LEN() avoid using them in a loop if the array is not changed, since they involve branching.

`ARY_PTR()` and `ARY_LEN()` avoid using them in a loop if the array is not changed, since they involve branching.
@dearblue dearblue requested a review from matz as a code owner October 19, 2024 02:23
@github-actions github-actions Bot added the core label Oct 19, 2024
@matz matz merged commit f290803 into mruby:master Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants