C# Dictionary Performance

前端 未结 5 1662
死守一世寂寞
死守一世寂寞 2021-01-05 20:01

I am using a Dictionary to store data, and will be caching it. I would like to avoid server memory issues, and have good performance by limiting the size of the Dictionary&

5条回答
  •  广开言路
    2021-01-05 20:54

    "A cache without an expiration policy is just a memory leak."

    (Sorry, unattributed as I don't know who first said it.)

提交回复
热议问题