Map should be O(1) in most implementations average case. Since Map keeps insertion order, adding a bit of code around it will get you a LRU ...
確定! 回上一頁