Make ahead: Prepare the sweet potato layer and topping up to 1 day in advance. Cover and refrigerate separately; assemble and bake cold, adding 5–10 extra minutes. Storage: Cover leftovers and refrigerate up to 4 days; reheat at 325°F until warmed through. Freezer: Assemble without marshmallows, wrap well, and freeze up to 2 months; thaw in the refrigerator, add marshmallows if using, then bake. For a smoother texture, beat the sweet potato mixture with a hand mixer. If you prefer only marshmallows, skip the pecan topping and bake until the marshmallows are toasted.