Save/Load solver alghoritms

Forum Forums Discussion Save/Load solver alghoritms

This topic contains 15 replies, has 6 voices, and was last updated by Miqobot Miqobot 8 years, 1 month ago.

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #2328
    Miqobot
    Miqobot
    Keymaster
    0

    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:

    1. 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.
    2. Each solution map consumes a significant amount of HDD space.
      For example, a 4-minute solution will occupy 1.3 GB.
    3. 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:

    1. It takes about 60 seconds to compress a 4-minute solution.
    2. It takes about 30 seconds to decompress a 4-minute solution.
    3. 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!

Viewing 16 post (of 16 total)

You must be logged in to reply to this topic.