The density of the air is the critical parameter. Temperature does make a big difference between freezing and 100F the density varies by almost 15%. It's a big change. Here is a chart that can give the corrected density altitude. That same freezing to 100F is like changing altitude by 4500 feet. It gives you an idea of how much things change with temp and altitude.
The smaller the displacement the more critical the jetting. I can run my XR600 well away from optimum and still have enough torque to ride whatever. A smaller bike can't tolerate the loss nearly as well.
Here is a density altitude chart. First go up the "pressure altitude" to your riding altitude and then go over to the temperature. For example My summer riding at 10,000 feet and 80F is almost like 13,000 feet in standard conditions. A cold winter desert ride at 2500 feet and 40F is like 1000 feet in standard conditions.