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

Hash-based History type & Unified Location. #177

Merged
merged 10 commits into from
Dec 4, 2021

Conversation

futursolo
Copy link
Collaborator

@futursolo futursolo commented Dec 4, 2021

This pull request consists of the following changes:

  • HashHistory for hash-based history access.
  • Location is now a struct and its content will be stable after created by History::location().
  • Location now have an id that is unique to itself.
  • States now uses downcasting in all occasions.

@ranile
Copy link
Collaborator

ranile commented Dec 4, 2021

It seems there's some code duplication between the two histories, life for notifications. Can we avoid that?

@futursolo futursolo changed the title Add HashHistory and HashLocation Hash-based History type & Unified Location. Dec 4, 2021
Copy link
Collaborator

@ranile ranile left a comment

Choose a reason for hiding this comment

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

LGTM

@ranile ranile merged commit 816b8f1 into rustwasm:master Dec 4, 2021
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