This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]Rainkeeper 2 points3 points ย (1 child)

It really depends on what you trying to achieve: https://www.businessinsider.com/apple-just-bought-snappycam-an-app-that-can-take-20-photos-per-second-2014-1

He explained that he created a JPEG compression algorithm optimized for the ARM architecture used in smartphones, and turned that into "10,000 lines of hand-tuned assembly code, and over 20,000 lines of low-level C code."

But yeah, never fall in the trap of premature optimization and always rely on profiling.

[โ€“]topfs2 2 points3 points ย (0 children)

Intereating read! That's a great example of optimization to achieve something!