Forum › Forums › Discussion › Save/Load solver alghoritms
This topic contains 15 replies, has 6 voices, and was last updated by Miqobot 8 years ago.
-
AuthorPosts
-
October 26, 2016 at 2:26 pm #2328
Yes, of course we are considering an implementation of save/load system.
Crafting Solver uses a fusion of two methods:
– Pre-rendering of partial solution map.
– Real-time search through the map to fill in the missing gaps (up to 100 steps deep).Time is needed only to calculate the solution map. And yes, it can be saved and loaded into memory.
However there are a few additional factors that must be considered:- A solution map is defined not only by your stats, but also by recipe stats, recipe level, and abilities available.
If you craft a 42-level recipe using a 43-level solution, it usually results in a failed craft. If you remove an ability without recalculating the solution, it usually gets stuck during craft. Crafting Solver will not allow you to use a wrong solution, even with save/load system. - Each solution map consumes a significant amount of HDD space.
For example, a 4-minute solution will occupy 1.3 GB. - It takes time to write and read from HDD.
For example, writing a 4-minute solution will take 30 seconds on 7,200 rpm HDD.
In order to fix the size issue, we have to implement an automatic compression and decompression.
However compression algorithms are computationally expensive as well:- It takes about 60 seconds to compress a 4-minute solution.
- It takes about 30 seconds to decompress a 4-minute solution.
- Expected compression rate is 95%, so a 4-minute solution will still occupy about 65 MB of space.
And in the end, there is very little value in save/load system if it would require handling the files manually. So we have to implement an automatic identification of available solutions.
All these features combined will result in x8 computational boost (basically the time required to decompress a solution map).So yes, your request is accepted 🙂
But don’t expect it to become the holy grail of crafting. It is a little QoL improvement, which will arrive after other major features are implemented.
We suggest following the recommendations given by our users in this thread, as they are indeed correct and match the purpose of Solver settings.Please accept our apologies if this is not what you expected to hear.
And thank you for understanding! - A solution map is defined not only by your stats, but also by recipe stats, recipe level, and abilities available.
-
AuthorPosts
You must be logged in to reply to this topic.