Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Removed caveat about compile speed because v1.0.3 fixes this issue.
  • Loading branch information
JacksonAllan authored May 4, 2023
1 parent ede5d08 commit a327c32
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,6 @@ Destructor, comparison, and hash functions are also deduced via a novel techniqu
**CC** has been tested under GCC, MinGW, and Clang. `tests/unit_tests.c` includes unit tests for all container types, with an emphasis on corner cases. `tests/tests_against_stl.cpp` includes randomized tests that perform the same operations on equivalent **CC** and C++ STL containers and then check that they remain in sync. Both test suites use a tracking and randomly failing memory allocator in order to detect memory leaks and test out-of-memory conditions.
### Does it impact build times?
Yes. The compiler must do extra work deducing types, processing macros, and inlining functions at compile time. `unit_tests.c`, as an example of a program that uses **CC** extensively, compiles in 4.5 seconds in MinGW with `O3` in my development environment, whereas a roughly equivalent program using C++'s STL containers compiles in 3.1 seconds. So consider this point if your project is large and build speed is important.
### What's next?
Future versions should include `NULL`-terminated dynamic strings, ordered maps, and ordered sets, as well as performance benchmarks.
Expand Down

0 comments on commit a327c32

Please sign in to comment.