That's the real key, as well as knowing that tax brackets differ between Federal and Provincial.
Federal:
Under $35,595 16.0%
35,596-71,190 22.0%
71,191-115,739 26.0%
over 115,739 29.0%
Ontario:
Under $34,544 6.05%
34,010-68,020 9.15%
over 68,020 11.16%
Basic Personal Tax Credit is $8,196
The key should be understanding what you need to contribute to get to the lower tax bracket in both Federal and Provincial. So, 2 different people made $90,000 and $80,000 this year and have $20,000 to invest (including carryover from prior years) how much should they contribute to minimize the amount of tax they have to pay? They will get the Personal Tax Credit of $8,196 lowering their taxable income to $81,804 and $71,804. They then really should contibute only enough to their RRSP to get them to the $68,020 hurdle (assuming no other deductions and the decision is for tax reasons only and not retirement savings goals). In this case, they should contribute $13,784 and $3,784 to take full advantage of the tax refund.
The advantange is that the carryover of unused RRSP contribution remains and grows so that you can use it to your advantage later if your income grows faster then the tax bracket changes allowing you to dip to the lower bracket for multiple years. Again, this assumes that tax savings is your only goal.
BTW: I'm not a tax advisor but do some of my own research. The best advice is talk to a tax professional and financial advisor before making a decision as depending on differing goals (investment vs. tax savings) the advice could be different.