SPO PROJECT - STAGE 3
Hi everyone, for this blog i am going to attempt or figure out a way to optimize the code in the Zopli program.After profiling in stage 2 i found out that the function that was taking up the majority of the run time for the program was called ZopliUpdateHash(). Since this was taking up a bulk of the time iI decided that this function was the first thing that needed to be optimized since it would have the largest affect. This function can be found under the file named "hash.c" and looks like this. Aside from this function I did look around for other functions to see if there was anything else i could optimize. After looking for about 15 minutes I noticed that the code was well written and it well documented on the Github. If it was'nt for the documentation I probably would'nt even know what half of that code did. During this stage I had encountered a bunch of problems, Nothing I did worked for the most part. The first thing I did was change th