56 Commits

Author SHA1 Message Date
3626f70cb1 Update to work with older check 0.10 2022-05-13 15:47:23 -04:00
89fa8b72ec Removed the TODO.
Timing the code shows a significant speedup of over 25% in Debug mode. Running the optimized release code shows no statistically significant difference, so the newly optimized code will be kept.
2021-07-31 17:51:34 -04:00
bb430864cb Added some timing functionality for convenience 2021-07-31 17:50:03 -04:00
65d3a76bff Improve the performance of ebitarray_set_range with a memset, math, and ebitarray_set_unsafe 2021-07-31 16:35:11 -04:00
5c00511545 Improve the performance of ebitarray_set to avoid some divisions and comparisons 2021-07-31 16:05:33 -04:00
fccaeda784 Fix some errors in BitArray so that ebitarray_set_range is now inclusive on both values. 2021-07-31 14:05:09 -04:00
Aaron Helton
d0cfdd505e Fix typo in debug message 2021-01-07 00:05:41 -05:00
Aaron Gorodetzky
a5776e0ddd Fix BitArray initialization to start at all 0's 2020-08-01 14:43:17 -04:00
Aaron Gorodetzky
eec7e537e6 Make CMake Default Build Type be Debug in the git repo, Release elsewhere 2020-07-31 23:49:15 -04:00
Aaron Gorodetzky
05ec39e5f8 Add BitArray 2020-07-30 17:05:38 -04:00
Aaron Gorodetzky
5313b7de00 Add basic math capabilities 2020-07-30 11:13:52 -04:00
Aaron Gorodetzky
3eae6979cb Add clang-format 2020-07-22 06:15:49 -04:00
Aaron Gorodetzky
1c1186866a Ignore .clangd/ directory 2020-07-22 05:14:21 -04:00
Aaron Gorodetzky
02be5d4fab Create compile_commands.json when building 2020-07-22 05:07:31 -04:00
Aaron Gorodetzky
0a7ca43f31 Fix missing newline 2020-07-06 00:23:14 -04:00
Aaron Gorodetzky
e885a2268d Add basic file opening/reading capabilities. I mean very basic. 2020-05-23 00:11:35 -04:00
Aaron Gorodetzky
7260f9ad9e Clean up project and rename arraylist to emberlist 2020-05-22 22:51:13 -04:00
Aaron Helton
4e321b7528 Fix memory allocation error - Off by one 2020-03-07 22:31:27 -05:00
Aaron Helton
4a49ba1d6f Added testing for comparing EmberStrings. 2019-12-14 22:14:17 -05:00
Aaron Helton
0d0d085076 Added testing for strip function 2019-12-14 21:42:34 -05:00
Aaron Helton
6b3e195095 Restructure EmberString files. 2019-12-14 21:01:24 -05:00
Aaron Helton
171013c872 Added Substring Method and Tests 2019-12-14 20:56:09 -05:00
Aaron Helton
1aaf42dc2b Added String Concatenation Feature 2019-12-12 17:37:22 -05:00
Aaron Helton
4d05a3096f Created EmberString Creation tests 2019-12-12 14:18:04 -05:00
Aaron Helton
d59fdf1d11 Beginnings of File IO. Added EmberStrings. 2019-12-11 01:56:07 -05:00
Aaron Helton
499760dd29 Make building tests default to FALSE 2019-12-05 13:08:27 -08:00
Aaron Helton
81a1cc56e8 Make it possible to opt in/out of tests 2019-12-05 13:04:05 -08:00
Aaron Helton
013e539f66 Make Check Unncessary to Build 2019-12-05 06:20:56 -08:00
Aaron Helton
80cf812b75 Disable GNU Extensions 2019-12-03 16:47:21 -05:00
Aaron Helton
a3ddfa8f3d Cleanup tests CMakeLists.txt 2019-11-30 13:47:21 -05:00
Aaron Helton
9ae66fb00e Add Demo for easier during-development testing 2019-11-30 13:45:28 -05:00
Aaron Helton
c24942bd94 Update testing framework 2019-11-30 13:37:50 -05:00
Aaron Helton
0361aca1f2 Fix another bug in CMakeLists.txt 2019-11-29 15:03:37 -05:00
Aaron Helton
344e48e263 Fix bug in CMakeLists.txt 2019-11-29 14:53:19 -05:00
Aaron Helton
44d11c5883 Make Project Structure More Modern CMake Style 2019-11-29 14:46:44 -05:00
Aaron Helton
6b61c8ef6a Move old arraylist implementation to separate folder 2019-11-25 19:04:13 -05:00
Aaron Helton
680c1789bc Make formatting across all files consistent and limit to 80 char cols 2019-11-25 16:43:21 -05:00
Aaron Helton
b405c5480c Make the header file prettier and add more consistent formatting.
I also went through and re-wrapped all the multi-line macros in do/while pseudo blocks so that they won't break on single-line if/else statements.
2019-11-25 16:08:51 -05:00
Aaron Helton
d9877a1e87 Added a few edge cases to the arraylist_delete test 2019-11-25 01:34:02 -05:00
Aaron Helton
2c25e511a4 Added deletion capability to arraylist with tests 2019-11-25 01:27:06 -05:00
Aaron Helton
dbe3149750 Even more testing infrastructure! Plus minor fixes discovered during testing. 2019-11-24 18:47:30 -05:00
Aaron Helton
5dbb452cdb Added basic integer push testing 2019-11-21 22:09:15 -05:00
Aaron Helton
bc8386fea8 Create additional create/destroy tests for arraylist 2019-11-21 21:52:53 -05:00
Aaron Helton
2cb2180d94 Ammend errors in check test suite 2019-11-21 21:33:06 -05:00
Aaron Helton
3892bcfe4c Added some unit testing with Check 2019-11-21 23:34:22 -05:00
Aaron Helton
9c1fad614e Various Cleanup 2019-11-20 19:07:43 -05:00
Aaron Helton
36def6a05a Make the arraylist_get function much better 2019-11-19 01:01:44 -05:00
Aaron Helton
82cf019a28 Example of Complex Arraylist Usage 2019-11-17 17:06:45 -05:00
Aaron Helton
c8e9faf1d5 Added function for freeing all pointers in arraylist 2019-11-17 16:55:07 -05:00
Aaron Helton
b503b3637a Created a Memory Leak 2019-11-17 16:48:47 -05:00