Skip to content

Commit

Permalink
Rewritten parts of the code for better performance. Removed usage of …
Browse files Browse the repository at this point in the history
….at since 20% of code time was spend inside that function and removed nice abstraction of graph and moved to a simple adjacency list representation
  • Loading branch information
rowanG077 committed Nov 14, 2018
1 parent a56672a commit ebee28b
Show file tree
Hide file tree
Showing 26 changed files with 148 additions and 1,099 deletions.
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Checks: '*,-google-runtime-references,-fuchsia-default-arguments,-google-readability-namespace-comments,-hicpp-deprecated-headers,-llvm-header-guard,-llvm-namespace-comment,-modernize-deprecated-headers,-fuchsia-overloaded-operator'
Checks: '*,-google-runtime-references,-fuchsia-default-arguments,-clang-diagnostic-sign-compare,-google-readability-namespace-comments,-cppcoreguidelines-pro-bounds-constant-array-index,-hicpp-deprecated-headers,-llvm-header-guard,-llvm-namespace-comment,-modernize-deprecated-headers,-fuchsia-overloaded-operator'
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
Expand Down
5 changes: 4 additions & 1 deletion cmake/code.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS ON)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# disable sign compare since we use only signed integers types
add_compile_options(-Wno-sign-compare)

# set warning flags for debug
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
if(CMAKE_C_COMPILER_ID STREQUAL "Clang" OR
CMAKE_C_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wall -Wextra -Wconversion)
add_compile_options(-Wall -Wextra)
if(${WERROR})
add_compile_options(-Werror)
endif()
Expand Down
71 changes: 0 additions & 71 deletions include/BoxNesting/Algorithm.hpp

This file was deleted.

101 changes: 0 additions & 101 deletions include/BoxNesting/Box.hpp

This file was deleted.

79 changes: 0 additions & 79 deletions include/BoxNesting/Parser.hpp

This file was deleted.

45 changes: 0 additions & 45 deletions include/BoxNesting/ParserError.hpp

This file was deleted.

Loading

0 comments on commit ebee28b

Please sign in to comment.