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

Optimization in the file handling while printing the searched word from trie #1

Open
A-atmos opened this issue Mar 8, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@A-atmos
Copy link
Owner

A-atmos commented Mar 8, 2023

While printing the searched word from trie, A file is to be opened multiple times and stored as buffer, for every found line number. This can be eased up by storing the file as buffer and using seek to navigate through out the file. This needs to be optimized for better performance.

@A-atmos A-atmos added invalid This doesn't seem right bug Something isn't working help wanted Extra attention is needed and removed invalid This doesn't seem right labels Mar 8, 2023
@A-atmos A-atmos changed the title Optimization in the file handling while printing the searched word from tire Optimization in the file handling while printing the searched word from trie Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant