Windows 10 Under Bootcamp + TRIM
macOS will not trim Windows partition and similarly Windows will not trim the macOS partition.  

Both however will automatically trim their own partitions (and any other mounted file systems they understand).

You don't need to destroy either partition "semi-regularly" - just use them both as normal.



As a bit of background, Windows under Boot Camp will enable trim automatically if it identifies your disk as a SSD.  You can check this by the running the command fsutil behavior query DisableDeleteNotify.  

If it shows NTFS DisableDeleteNotify = 0 then trim is enabled. See How to Check if TRIM Is Enabled for Your SSD (and Enable It if It Isn’t) 

The actual trim is run automatically on a schedule (weekly by default) or you can search for Defragment and Optimize Drives from the Start Menu and click on the "Optimize" button to run it immediately.  

This is from my Boot Camp partition: