Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can you asymptotically analyze C libraries?

For example, I have two C libraries: musl and glibc. For my situation, I need speed, thus I want to use the library that would "run the fastest". Would this involve cataloging the time and space complexity of each function per library? Is there an objective way to determine which library would have a worst lower time and space complexity?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Determining the fastest library for you is done through benchmarking, meaning timing how long it takes with realistic samples.

Specifically, determining time and space complexity of an algorithm won’t tell you how fast it is. It’s a measure of how its performance scales.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading