I finished all the TODO functions and fixed all the errors, but the program takes 20-25 seconds to output anything, the dictionary load time is 4.3 seconds in the output, the total time is 4.6 seconds, but it takes more than 20 for the loading cursor in the terminal to stop blinking and getting the output. When I use valgrind, it just displays the first 3 lines,and gets stuck until I press ctrl-c.
When I run the same program in my terminal(linux), it instantly runs, and the dict load time is the same.
When I run check50, I get the following output for everything after compile check.
:( handles most basic words properly did not find "MISSPELLED WORD..." Log running ./speller basic/dict basic/text... checking for output "MISSPELLED WORDS WORDS MISSPELLED: 0 WORDS IN DICTIONARY: 8 WORDS IN TEXT: 9 "...
Speller and all other files are unchanged, my dictionary.c file is attached. dictionary.c