In conclusion, the -O3 flag was the most important discovery with trying to optimize clib. It offered a significant speed up with no interference, and provided the chance to uniform a many times used function, strdup. Overall the function is built extremely well with very advanced logic. Attempting to alter said logic sprouted many errors and warnings and left only simple compiler optimizations such as loop unrolling which made small differences in speed up.
Clib as a whole is a great idea, offering many compartmentalized features for the C programming language that programmers could definitely find useful when developing. I hope in the future I can get more involved in writing code for open source projects such as clib whether that be doing optimization work or building from the ground up. This project not only gave me an insight on how these open source projects work but also at real world coding and improvement opportunities. I can honestly say now that I have had some experience working with some open source projects I see why they are so preferred in the technical community due to their adaptability from their immensely supported and caring communities.
This project was a fantastic introduction for me, and I hope what I have analyzed and concluded may help someone some day as much as it aided me in my understanding. Thank you.
Clib as a whole is a great idea, offering many compartmentalized features for the C programming language that programmers could definitely find useful when developing. I hope in the future I can get more involved in writing code for open source projects such as clib whether that be doing optimization work or building from the ground up. This project not only gave me an insight on how these open source projects work but also at real world coding and improvement opportunities. I can honestly say now that I have had some experience working with some open source projects I see why they are so preferred in the technical community due to their adaptability from their immensely supported and caring communities.
This project was a fantastic introduction for me, and I hope what I have analyzed and concluded may help someone some day as much as it aided me in my understanding. Thank you.
Comments
Post a Comment