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

[Mojo] Initial version #514

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

cyrusmsk
Copy link
Contributor

@cyrusmsk cyrusmsk commented Jun 2, 2024

Tested: local run of the code verified on 5k posts file
Not tested: Docker installation
Issues: mojo build and run executable locally gives me a seg fault. But 'mojo rel.mojo' is working

Future improvements:

  • instead of built-in Dict use compact dict
  • for faster JSON deserialization use StringBuilder
  • faster vectors initializations with zeros
  • improve memory management logic to reduce data copy usage (with lifetime and borrowing)
  • struct alignment
  • add SIMD logic

Tested: local run of the code verified on 5k posts file
Not tested: Docker installation
Issues: mojo build and run executable locally gave seg fault

Future improvements:
- instead of built-in Dict use compact dict
- for faster JSON deserialization use StringBuilder
- improve memory management logic to reduce data copy usage (with lifetime and borrowing)
- add SIMD logic
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.

1 participant