We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when running topk for k >= 1000 i get this error. of course i can increase the sys.setrecursionlimit but up to a point
also the topk uses heap which slows down dramatically. using List as for frequent is x5 faster
The text was updated successfully, but these errors were encountered:
Heap was used for calculating top-k. If both your k and your data are large, the performance is impacted.
Feel free to have a pull request for how to improve the performance using list. Please also add some benchmarks to help understand the optimizations.
Sorry, something went wrong.
many thanks, what about the recur depth. i cannot run topk for more than 1500 or so
This part can be explained in README and further provide an additional optional parameter for both CLI and library to be tweaked by user.
No branches or pull requests
when running topk for k >= 1000 i get this error.
of course i can increase the sys.setrecursionlimit but up to a point
also the topk uses heap which slows down dramatically. using List as for frequent is x5 faster
The text was updated successfully, but these errors were encountered: