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

Code storing optimization #43

Closed
tmptrash opened this issue Nov 1, 2019 · 0 comments
Closed

Code storing optimization #43

tmptrash opened this issue Nov 1, 2019 · 0 comments
Assignees
Milestone

Comments

@tmptrash
Copy link
Owner

tmptrash commented Nov 1, 2019

Зачем мы храним для каждой команды 32 бита?

  • Нужно хранить по 6 бит на команду (максимум 64 команды). Мы значительно сэкономим занимаемое организмами и молекулами место.
  • Нужно юзать Uint8Array.
  • Для этого нужно использовать свой splice иpush.
  • Все должно работать
@tmptrash tmptrash self-assigned this Nov 1, 2019
@tmptrash tmptrash added this to the Energy based architecture milestone Nov 1, 2019
@tmptrash tmptrash changed the title Commands storing optimization Code storing optimization Nov 3, 2019
tmptrash added a commit that referenced this issue Nov 9, 2019
- skeleton of storing code in Uint8Array #43
- fixed an issue with breaking of script run after preprocess() function run
@tmptrash tmptrash reopened this Nov 12, 2019
tmptrash added a commit that referenced this issue Nov 12, 2019
- fixed critical memory leaks, which crash application #43
- added World.js() for searching of free space near specified offset #43
tmptrash added a commit that referenced this issue Nov 12, 2019
tmptrash added a commit that referenced this issue Nov 14, 2019
- fixed an issue with Decay._getNearPos() #43
tmptrash added a commit that referenced this issue Nov 14, 2019
tmptrash added a commit that referenced this issue Nov 14, 2019
tmptrash added a commit that referenced this issue Nov 14, 2019
tmptrash added a commit that referenced this issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant