TexasSolver icon indicating copy to clipboard operation
TexasSolver copied to clipboard

EXEC FROM FILE step, how to make it faster

Open joaotnog opened this issue 2 years ago • 5 comments

Awesome work @bupticybee !

I would like to understand why the EXEC FROM FILE loading step takes so long (about 8 seconds) when running from command line and what can be done to reduce it: console_solver.exe -i resources/text/commandline_sample_input.txt

  • I am running on Windows.
  • It is not affected by the resources/text template, even when running just for River with limited range, the conversion speed is very fast but this EXEC FROM FILE step takes the same time.
  • When using the GUI it's always fast, so I assume this step performs some prep work that can be faster using cache?

Can you give any guidance on how to speed up this step? Is it a matter of recompiling with modifications?

joaotnog avatar Jul 06 '24 09:07 joaotnog

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

Takumi-trbl avatar Jul 06 '24 09:07 Takumi-trbl

Yeah there are ways to do this.

bupticybee avatar Jul 06 '24 12:07 bupticybee

There is a flag I don't remember exactly what. I leave it for such purporse.

bupticybee avatar Jul 06 '24 12:07 bupticybee

There is a flag I don't remember exactly what. I leave it for such purporse.

Hello, im having the same question as joaotnog. Any more information on how to do this?

jakobGTO avatar Oct 11 '24 20:10 jakobGTO

The dictionary can be hard-coded into the code, which should make it faster.

xuzy1975 avatar Jan 26 '25 06:01 xuzy1975