Open hoangvh94 opened 1 year ago
I done some experiments, yes, it seems that in small tree settings, the two does run at a different speed. Since both binary is compiled by the same core code. I would guess it's the compiler that matters.
BTW, it's more common in my experiments if the tree are big enough, console version is faster.
why its (console_solver.exe) so different between Window app (3807 kb) and Console built (657 kb)
and when I copied and ran console_solver(3807) instead of (657) one
it's extremely fast and the process log is a bit different in picture 1st comment above
They are compiled under different environment, different compiler, and some different code. Size different and speed different are excepted.
If you are that into speed, I encourage you to build the binary youself to get best speed.
you are right, I tried some others environment and speed is different. So could you tell me which environment I should use for faster speed? require for RAM or CPU ....?
you are right, I tried some others environment and speed is different. So could you tell me which environment I should use for faster speed? require for RAM or CPU ....?
I really don't know about that, I think this kind of knowledge requires a lot of hardware and experiments, I don't have both.
A big difference about speed between the window app and console app
and consolve_solver.exe (left is wndow app, right is console app built)
commandline_sample_input2.txt