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

Optimise type IDs assignment #1746

Merged
merged 1 commit into from
Mar 24, 2017
Merged

Conversation

Praetonus
Copy link
Member

  • Don't assign type IDs to structs
  • Use a distinct numbering for traits and concrete types

The main goal of this change is to reduce the size of the type descriptor table used for serialisation: type IDs for serialisable types are less sparse, which results in less "holes" in the table.

- Don't assign type IDs to structs
- Use a distinct numbering for traits and concrete types

The main goal of this change is to reduce the size of the type
descriptor table used for serialisation: type IDs for serialisable
types are less sparse, which results in less "holes" in the table.
@jemc jemc merged commit 5e03267 into ponylang:master Mar 24, 2017
@Praetonus Praetonus deleted the type-id-assignment branch March 24, 2017 15:31
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