The trick involves writing sectors (of size 4K, say, and it can depend on the SSD model) sequentially in aligned blocks (of size 1M, say, but it can depend on the SSD model) so that the SSD firmware that can erase one physical block at a time can handle it efficiently. Especially in 2010.
* https://news.ycombinator.com/item?id=4795443
* http://www.rethinkdb.com/blog/on-trim-ncq-and-write-amplific...