CodePudding user response:
1, the algorithm is encapsulated into a DLL, updating algorithm to replace the DLL file2, 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,