Commit Graph
12 Commits
Author SHA1 Message Date
wiesendsi102436 fc3933a993 fix: memory leak 2025-11-30 12:15:06 +01:00
wiesendsi102436 5050836020 fix: malloc error handling 2025-11-30 12:12:45 +01:00
wiesendsi102436 1c27338be2 fix: timers on Linux
On Linux the clock() function measures cpu time instead of wall time. This change uses the Apple code path for Linux.
2025-11-30 10:34:01 +01:00
wiesendsi102436 942b38e75d set the seed for the RNG just once at the beginning of the program
this improves randomness for tests where createNumbers() is called in rapid succession
2025-11-30 09:17:08 +01:00
wiesendsi102436 a900d2d147 initial implementation for numbers.c with some testing in test_numbers.c
numbers.c currently uses the qsort() function from stdlib
2025-11-30 09:06:21 +01:00
wiesendsi102436 07262a1fe0 fix makefile to allow debugging 2025-11-29 21:25:04 +01:00
wiesendsi102436 34e5a59196 remove redundant assignment 2025-11-29 21:24:11 +01:00
wiesendsi102436 ab71a3dd74 setup first test for bintree.c 2025-11-29 17:21:51 +01:00
wiesendsi102436 fd51eef1fe initial bintree.c 2025-11-29 17:21:11 +01:00
wiesendsi102436 a48cb6560d update gitignore 2025-11-29 12:57:49 +01:00
wiesendsi102436 ef59987f08 implement stack with some initial testing 2025-11-29 12:57:07 +01:00
wiesendsi102436 fe4c130d72 create initial gitignore with obvious stuff 2025-11-29 09:58:23 +01:00