main
Brett 2024-03-08 18:10:09 -05:00
parent 2ad3bddc17
commit aadf4a5728
4 changed files with 6 additions and 7 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25) cmake_minimum_required(VERSION 3.25)
project(lilfbtf5 VERSION 0.1.5) project(lilfbtf5 VERSION 0.1.6)
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF) option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF) option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

@ -1 +1 @@
Subproject commit 55bae674077139b78eeeb6c94361662ec2b2a8be Subproject commit 7e7e542f51f75dbca6eb86f01abf8c5a2164f706

View File

@ -47,7 +47,7 @@ int main(int argc, const char** argv)
if (args.contains("--tests")) if (args.contains("--tests"))
{ {
fb::test2(); //fb::test2();
fb::test3(); fb::test3();
BLT_PRINT_PROFILE("Tree Construction"); BLT_PRINT_PROFILE("Tree Construction");

View File

@ -255,9 +255,8 @@ namespace fb
{ {
base_t* type = nullptr; base_t* type = nullptr;
node_t** children = nullptr; node_t** children = nullptr;
type_t type_value;
explicit node_t(type_t type): type(create_node_type(type)), type_value(type) explicit node_t(type_t type): type(create_node_type(type))
{ {
if (this->type == nullptr) if (this->type == nullptr)
throw std::bad_alloc(); throw std::bad_alloc();
@ -400,7 +399,7 @@ namespace fb
void run2() void run2()
{ {
constexpr auto size = 512; constexpr auto size = 1;
constexpr auto tree_size = 17; constexpr auto tree_size = 17;
engine.reset(); engine.reset();
tree3 love[size]; tree3 love[size];
@ -435,7 +434,7 @@ namespace fb
delete[] cum; delete[] cum;
run(); //run();
run2(); run2();
// using testing = blt::size_t; // using testing = blt::size_t;