First, Tim Hortons is far and away the category leader in the Canadian fast-casual coffee market with a roughly 80 percent share. Even as foreign competitors such as McDonalds and Starbucks have entered Canada, Tim Hortons has maintained positive same-store sales growth over the last several years, including the darkest days of the financial crisis.
Read MoreBurger King deal could be a tax dodge whopper
That strength should allow Tim Hortons to expand further across Canada with confidence. The company had 3,630 Canadian locations at the end of the second quarter, and management has said there's runway for more than 600 units in Canada.
Tim Hortons also has new ways to take advantage of its cult-like following in Canada. During the second quarter, Tim Hortons began to sell its single-serve coffee products through grocery stores. Others have shown that the single-serve category can grow quickly into a very significant business. At Starbucks, for instance, packaged and single-serve coffee accounted for 16 percent of companywide sales during the last fiscal year.
Tim Hortons has also begun to generate more revenue per customer visit in its Canadian stores by offering meals during more parts of the day. Traditionally a breakfast and coffee destination, Tim Hortons has bulked up on lunch offerings this year, which has driven positive same-store sales growth even while traffic has softened.
Read MoreInvesting in tax inversions: A 25-stock index
Burger King has even more opportunity if it brings Tim Hortons further beyond Canadian borders. Christopher O'Cull, an analyst with KeyBanc Capital Markets, points out that Tim Hortons has about 80 percent of its store base in Canada and generates nearly all of its profits there. Burger King, meanwhile, has about 40 percent of its store base outside the U.S. and also earns about 40 percent of its profits abroad.
Burger King and Tim Hortons haven't commented on a potential transaction price, but Tim Hortons now trades just shy of 24 times consensus 12-month forward earnings. While that's near the richest level the stock has ever commanded, it's now comparable to the multiple for U.S. counterpart Dunkin' Brands. With a deal possible in the next few days, Tim Hortons investors may have another big morning in short order.