Preferably, stress test with and without the objects in session state to see what the perf.
对session中存储和不存储对象都做一下压力测试,看看哪个更好,将会是更好的。
Since all of our built-in collection types implement this interface there are no perf gains in the most common scenarios.
自从我们所有的内建集合类型实现了此接口以后,在那些最常见场景下并未获得任何性能收益。
Initially we thought that adding this type would allow code to gain better perf in scenarios where you just want to get the count and then do some interesting stuff with it.
起初我们认为,添加这个类型将使得代码在某些场景(你只想获得计数,然后对它做一些有趣的东西)下获得更好的性能。
应用推荐