Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
ruby LRU cache with constant get/seto3 o6 o5 o4 o2 {"o2"=>["more stuff", #<struct Node value="o2", next=nil, prev=#<struct Node value="o4", next=#<struct Node:...>, prev=#<struct Node value="o5", next=#<struct Node:...>, prev=#<struct Node value="o6", next=#<struct Node:...>, prev=#<struct Node value="o3", next=#<struct Node:...>, prev=#<struct Node:...>>>>>>], "o3"=>["works well", #<struct Node value="o3", next=#<struct Node value="o6", next=#<struct Node value="o5", next=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node value="o5", next=#<struct Node:...>, prev=#<struct Node value="o6", next=#<struct Node:...>, prev=#<struct Node:...>>>>>], "o4"=>["more stuff", #<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node value="o5", next=#<struct Node:...>, prev=#<struct Node value="o6", next=#<struct Node:...>, prev=#<struct Node value="o3", next=#<struct Node:...>, prev=#<struct Node:...>>>>>], "o5"=>["works well", #<struct Node value="o5", next=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node value="o6", next=#<struct Node:...>, prev=#<struct Node value="o3", next=#<struct Node:...>, prev=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node:...>>>>>], "o6"=>["more stuff", #<struct Node value="o6", next=#<struct Node value="o5", next=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node:...>>, prev=#<struct Node value="o3", next=#<struct Node:...>, prev=#<struct Node value="o4", next=#<struct Node value="o2", next=nil, prev=#<struct Node:...>>, prev=#<struct Node value="o5", next=#<struct Node:...>, prev=#<struct Node:...>>>>>]} |
λ
.NET NoSQL database for rapid development
|