Worth repeating: measure twice, cut once.
性能的关键在于优雅,而不是大量的特殊情况。