ARK-Builders / ARK-Builders/Rate-Desktop

Optimize currency calculations

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Svelte
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The Rust code which calculates the currency are in O(n^2). It's possible to reduce it to O(n) by pre-processing the arrays.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Rust code that calculates currency values and trace how its arrays are processed. Compare the current nested-loop behavior with a preprocessing approach, then verify that the calculations remain correct and the implementation achieves O(n) rather than O(n^2).

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.