Slide 57
Slide 57 text
Premature Optimization: Red Flags
• "Without a lifetime, this needs to be cloned!"
• "Let me help the compiler here."
• "Ooof, Box is so much overhead!"
• "I use BTreeMap because it's faster than HashMap."
• "No need to measure if you've got years of experience."
• "Zero-copy abstraction"
• "Alocaaaaations!!!"