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

Use (int,int) instead of double for efficient serialization #113

Open
wavewave opened this issue Jul 12, 2020 · 1 comment
Open

Use (int,int) instead of double for efficient serialization #113

wavewave opened this issue Jul 12, 2020 · 1 comment
Labels
new feature new feature implementation

Comments

@wavewave
Copy link
Owner

internally use efficient number: say (Word16, Word8) = (n,m) ~ n + m / 256 for coordinate value.

@wavewave wavewave added the new feature new feature implementation label Jul 12, 2020
@wavewave
Copy link
Owner Author

For compatibility, it is better to have n + m / 100, and does not use m > 100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature new feature implementation
Projects
None yet
Development

No branches or pull requests

1 participant