LinkedIn Feed: Faster with Less JVM Garbage | LinkedIn Engineering 1. Be careful with Iterators 2. Estimate...

Please Visit: http://ift.tt/1ajReyV



LinkedIn Feed: Faster with Less JVM Garbage | LinkedIn Engineering

1. Be careful with Iterators

2. Estimate the size of a collection when initializing

3. Defer expression evaluation

4. Compile the regex patterns in advance

5. Cache it if you can

6. String Interns are useful but dangerous

http://ift.tt/1AgAG9Y






from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1Alq5se

via LifeLong Community

No comments:

Post a Comment