Skip to content

Conversation

@davidcole1340
Copy link
Collaborator

  • ZendHashTable has been split into &HashTable and OwnedHashTable. &HashTable is to OwnedHashTable as &str is to String.
  • The Drop implementation on Zval will properly drop the contents of the zval.

The functions actually returned references to the new zval value, so
there's not much point in returning.
Replaced by returning references to the actual hashtable, and having a
new type `OwnedHashTable` when creating a new hashtable.
Copy link
Collaborator

@vodik vodik left a comment

Choose a reason for hiding this comment

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

I think it looks reasonable to me. Just a few thoughts.

@davidcole1340 davidcole1340 merged commit 7c484a0 into master Sep 21, 2021
@davidcole1340 davidcole1340 deleted the zval-experiments branch September 27, 2021 11:54
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.

3 participants