Calculator gets increasingly slower with long calculations
Bug #1333201 reported by
Alan Pope ๐บ๐ง๐ฑ ๐ฆ
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
High
|
Bartosz Kosiorek |
Bug Description
Open calculator
Type 1+1=
Then press = repeatedly
The calculator gets slower with each iteration.
Reported by tvoss on irc, and confirmed by me.
12:01:36 < tvoss> popey, seems like it is not storing intermediate results but instead walks the stack each and every single time
Duplicate of the:
https:/
Related branches
lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-slowdownfix
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Alan Pope ๐บ๐ง๐ฑ ๐ฆ (community): Needs Fixing
- Mihir Soni: Approve
- Riccardo Padovani: Approve
-
Diff: 160 lines (+18/-48)2 files modifiedSimple/SimplePage.qml (+2/-2)
formula.js (+16/-46)
Changed in ubuntu-calculator-app: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: bitesize |
Changed in ubuntu-calculator-app: | |
importance: | Medium → High |
Changed in ubuntu-calculator-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Riccardo Padovani (rpadovani) |
Changed in ubuntu-calculator-app: | |
assignee: | Riccardo Padovani (rpadovani) → Bartosz Kosiorek (gang65) |
status: | Fix Committed → In Progress |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The root cause of problem was that whole formula is calculated every time. /bugs.launchpad .net/ubuntu- calculator- app/+bug/ 1315799
This bug is duplicate of the:
https:/