DEV Community

Discussion on: Strings Are Evil

Collapse
 
douglasjreynolds profile image
Doug Reynolds

The whole "Premature optimization is evil" is little played out. I like to use "common sense" optimization, eg using a HashSet for lookups, stream file/dB results vs. loading the entire set into memory, etc.

Readable code is super important. Memory effecient and optimized code is important if you are running in AWS Lambda with thousands of invocations.