Skip to content

Commit

Permalink
Maximize speed for building and running...
Browse files Browse the repository at this point in the history
  • Loading branch information
JosDenysGitHub committed Apr 22, 2020
1 parent 1b2959d commit 154cc2a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion modules/aho/model0_ja.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<Optimization>Disabled</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>.;.\ali;.\lexrep;.\inl\$(IKLANG);..\base\src\headers;..\ali;..\core\src\headers;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>MODEL_EXPORTS;MODELID=$(IKLANG);WIN32;NDEBUG;_WINDOWS;_USRDLL;AHO_EXPORTS;CACHE_COM_DISABLE;_ISCDLL;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down
6 changes: 0 additions & 6 deletions modules/compiler/iKnowLanguageCompiler/FailureFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ FailureFunction* FailureFunction::Create(GotoFunction *gotoFunc, OutputFunction
}
}
failFunc->Set(nextState, failState); // Do failFunc.Set(nextState, failState)
std::ofstream ofs = std::ofstream("C:/tmp/output_failure.csv", std::ofstream::app);
if (ofs.is_open()) {
ofs << "S" << nextState << "F" << failState << endl;
}
ofs.close();

outputFunc->Merge(nextState, failState); // Do outputFunc.Merge(nextState, failState)

// Do gotoFunc.DepthOrder(.depth, .state, .input, .nextState)
Expand Down

0 comments on commit 154cc2a

Please sign in to comment.