From c00d5fb305abff370f869dec0e9404f8a4a5646b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 7 Apr 2015 12:50:07 +0200 Subject: Use memcpy to copy tables into vectors. Ideally we wouldn't be copying at all, and somehow cast the table to a vector. Unfortunately I haven't figured out how to do that, and this solution at least gets us from 0.065 ms to 0.028 ms in testCreateCommand. --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8257c8a..a38471f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -2,6 +2,7 @@ add_subdirectory(hawd) set(CMAKE_AUTOMOC ON) include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/hawd) +include_directories (${CMAKE_CURRENT_BINARY_DIR}/../dummyresource) generate_flatbuffers(calendar) -- cgit v1.2.3