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.
 
 
 
sunjiawei d4d74e1a98
Merge branch 'main' of https://bdgit.educoder.net/pfuc5ij8g/MyTinySTL
8 months ago
MyTinySTL 对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