Skip to content
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

Refactor ary_heap_free_ptr and remove ary_heap_free #10687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eileencodes
Copy link
Contributor

This PR does the following:

  • ary_heap_free_ptr took an ary but it wasn't used for anything. The code that was using ary was removed in [Feature #19730] Remove transient heap #7942.
  • since removing the ary argument, there's less value in having a separate function for ary_heap_free. I deleted it in favor of calling ary_heap_free_ptr.

This PR does the following:

* `ary_heap_free_ptr` took an `ary` but it wasn't used for anything. The
code that was using `ary` was removed in ruby#7942.
* since removing the `ary` argument, there's less value in having a
separate function for `ary_heap_free`. I deleted it in favor of calling
`ary_heap_free_ptr`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant