r/cpp • • Feb 16 '26

Favorite optimizations ??

I'd love to hear stories about people's best feats of optimization, or something small you are able to use often!

132 Upvotes

185 comments sorted by

View all comments

Show parent comment

2

u/Xavier_OM Feb 17 '26

Related to your first point, I think that 99% of Wikipedia’s traffic hits the cache layer (the first layer)

1

u/theICEBear_dk Feb 17 '26

That is really impressive because they provide such a wide selection of articles, but I guess they have a similar situation although much bigger amounts of data given that their articles do not get into a special Archive when no longer current (persistent linking was something the journalists back then really wanted, it was interesting problem to solve).