I second some of the ones others have mentioned, e.g. like Soul of a New Machine,the Hackers book by Levy, the 2 Programming Pearls books by Jon Bentley, etc.
Bentley also wrote a less-often-mentioned gem of a book: Writing Efficient Programs.
It is about performance tuning of programs at many levels, micro to macro.
Bentley also wrote a less-often-mentioned gem of a book: Writing Efficient Programs. It is about performance tuning of programs at many levels, micro to macro.