Skip to content

Commit dab8f55

Browse files
committed
コメント修正など
1 parent 08665c7 commit dab8f55

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

sources/everything.mac

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,13 @@ gather_candidates:
3535
if(! ##ret){
3636
return "";
3737
}*/
38-
39-
$$args = sprintf(R"(-s -n 100 "%s")",$$serchString);
40-
//$$args = sprintf(R"(-s "%s")",$$serchString);
38+
if(1){
39+
//候補数を制限する(数値の由来:1画面に100行表示できるとして、x2しています)
40+
$$args = sprintf(R"(-s -n 200 "%s")",$$serchString);
41+
}else{
42+
//全候補を出力する(パフォーマンス検証に使用する想定です)
43+
$$args = sprintf(R"(-s "%s")",$$serchString);
44+
}
4145

4246
##handle=dllfuncw(#g_dll_hm_process,"SpawnWithRedirectToFile",$g_everythingExtPath,$$args,true,true,$$temp_filename);
4347
##ret=dllfuncw(#g_dll_hm_process,"SetCreateNoWindow",##handle,true);

0 commit comments

Comments
 (0)