For the study, Leander and her colleagues pooled data from more than 40,000 people, nearly 8,000 of whom developed heart problems like unstable angina, heart attack, cardiac arrest, and stroke.