There is no such thing as the 'best' or 'ideal' compression ratio. The simple fundamentals are such that the lower the compression ratio, the easier it is to produce a lot of boost with no detonation, however on the other hand the higher the compression ratio, the greater the fuel efficiency and non-boosted throttle response. You are certainly on the right train of thought with the pesky gas laws associated with compressing a gas, like oxygen, when passed through a compressor (turbo or supercharger). You are also on the right track with trying to avoid detonation at all costs, however, as I said earlier there are more variables to play in that are more important. Such a variable is the added bennefit of being able to take that increased temperature charge out of the compressed air through means of a heat exchanger, or around here called an intercooler. Serious efforts with intercooling allow a builder to have their cake and eat it too by being able to have a motor that is quick to respond while sacrificing no boost potential in the upper rev range where the compressor exceeds at doing its job. Such other variables include block and head material, cooling system of the engine, camshaft profile, octane fuel availability, spark plug heat range, advance/retardation of the timing, intercooler and compressor efficiency, amount of boost pressure, BOV's and finally electronic safety controls. I'm sure I have forgotten somethings but those are the basics I can remember off the top of my head.
I still encourage you to pick up the book. It's an enlightening read.