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

♻️ Several optimizations to reduce the memory usage of the engine #521

Open
neon-mmd opened this issue Feb 11, 2024 · 2 comments
Open

Comments

@neon-mmd
Copy link
Owner

What would you like to share?

Work Expected From This Issue

Provide several optimizations to reduce the memory usage of the search engine by making the following changes:

  • Use Cow data type for the struct modals in the src/models/aggregation_modals.rs file located under the codebase (websurfx directory) as it provides a more efficient data structure which can reduce the amount of memory usage.

For more information on Cow data type. See:

https://doc.rust-lang.org/std/borrow/enum.Cow.html

Reasoning Behind The Proposed Changes

The reasoning behind the following changes is to reduce the memory usage of the engine. This will help in consuming less system resources and can potentially allow the app to run on low memory devices, which can drastically improve the user experience.

Do you want to work on this issue?

None

Additional information

No response

Copy link

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md

Copy link

Stale issue message

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2024
@neon-mmd neon-mmd reopened this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant