{"title":"LRU cache\u306e\u6a21\u578b\u3092Ruby\u3067","blog_url":"https://c4se.hatenablog.com/","published":"2013-08-15 12:04:35","author_url":"https://blog.hatena.ne.jp/Kureduki_Maari/","blog_title":"c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606","url":"https://c4se.hatenablog.com/entry/2013/08/15/120435","width":"100%","categories":["Programming","Ruby"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2013%2F08%2F15%2F120435\" title=\"LRU cache\u306e\u6a21\u578b\u3092Ruby\u3067 - c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"LRU (least rescently used) cache\u306e\u6a21\u578b\u3002Ruby 1.9.3\u30682.0.0\u3067\u78ba\u8a8d\u3057\u305f\u3002 HashList\u3068\u304b\u4e91\u3075\u610f\u5473\u4e0d\u660e\u306adata\u69cb\u9020\u3092\u637b\u51fa\u3057\u305f\u304c\u3001\u305f\u3076\u3093\u4ed6\u306b\u4f7f\u3044\u9053\u304c\u7121\u3044\u3002 unittest block\u306f\u6b64\u308c\u3002 -> Ruby\u3067\u3001D\u8a00\u8a9e\u98a8\u306bassertion\u3092\u76f4\u66f8\u304d\u3059\u308b\u7c21\u6613unit test http://c4se.hatenablog.com/entry/2013/08/15/022137List, ListNode: \u53cc\u65b9\u5411\u9023\u7d50list\u3002\u304a\u306a\u3058\u307f\u3002164\u884c\u3002 HashList: \u633f\u5165\u9806\u5e8f\u3092\u4fdd\u5b58\u3057\u305fhash table\u3002\u4e2d\u8eab\u306f\u9023\u7d50list\u3068hash table\u306e\u2026","author_name":"Kureduki_Maari","type":"rich","image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","height":"190"}