memory: add trim tutorial

Just explain what trim is for and why its useful