You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Shiina_cd b6098065ad
update stack.h and queue.h
8 months ago
MyTinySTL update stack.h and queue.h 8 months ago
doc the structure of the project 9 months ago
src 这段代码是一个用于性能测试的头文件,它包含了两个宏定义 `FUN_TEST1` 和 `FUN_TEST2` 用于测量和打印函数执行时间,其中 `FUN_TEST1` 用于无额外参数的函数性能测试,而 `FUN_TEST2` 用于需要一个额外参数的函数测试。代码中定义了两个测试函数 `binary_search_test` 和 `sort_test`,分别用于比较标准库和自定义库中二分查找和排序算法的性能。性能测试的入口点是 `algorithm_performance_test` 函数,它在 `PERFORMANCE_TEST_ON` 宏被定义时执行。整个文件通过命名空间 `mystl::test::algorithm_performance_test` 组织,以防止命名冲突,并确保代码的整洁结构。 8 months ago
README.md Update README.md 9 months ago