Join the DZone community and get the full member experience.
Join For Free
Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database. Try it now! Brought to you in partnership with MongoDB.
The title of this post reminds me of a Bones episode. This blog post is actually from an internal mail made by Federico Lois, as part of bigger perf work.
Here is the calling code, note that this is typically called many times, and _pageStates is a HashSet<PagerState>.
The following change was made:
And here are the results:
That is 230% improvement! I can identify with the sentiment.
Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.
Published at DZone with permission of
Ayende Rahien, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.