When cooking pork, the best way to preserve thiamine is to cook it quickly over high heat or slowly over low heat. Avoid using high-heat methods such as grilling or broiling, as these can cause thiamine to be lost in the cooking process.