Home > Back-end >  Questions about software updates
Questions about software updates

Time:09-29

Have a piece of software, after loading data, need several algorithms are calculated respectively, these algorithms need to be updated frequently, how to layout as well??

CodePudding user response:

1, the algorithm is encapsulated into a DLL, updating algorithm to replace the DLL file
2, if the algorithm can abstract the parameters, the parameters of persistence, can read the changes

CodePudding user response:

1, in the algorithm, design a return value, namely the calculation time,
2, code sets instant comparison which algorithm for time is short, which algorithm is used, the Settings are saved to the ini,
3, if the algorithm code updates fast, the proposal algorithm respectively in the Dll, change the code, replace the Dll can,
  • Related