Since splay trees are used for caching, I was wondering what are the advantages of Splay Tree over HashTable when I want to cache efficiently?
When should I prefer to drag a tree over a hash table?
I think this is a more specialized case than BST, there please do not mess with the answer of BST vs Hashtable.
It really depends on what you mean by efficiency.
/, , . , , , .
, , ( ), splay , O (log n), - O (n).
, - , 3 1 . , , , .
, , Hash , O (1).
. , "" / " " , . , , -.
, , -, , .
:)
, , ! , Google, , ! !
Source: https://habr.com/ru/post/1689943/More articles:ServiceNow: Jelly Error - servicenowHow to configure "tsconfig.json" to create files in "project / src" and write the output to "project / lib"? - typescriptПолучение бесплатных текстовых функций в Tensorflow Canned Estimators с помощью API Dataset через feature_columns - tensorflowBinary line of XML file # 0: Error inflating the ImageView class - javaTimezone provided by yelp V3 Event Search API - apiList of only one property of an array of objects - javascriptStop function launch at the click of a button - javascriptWhat files from the target directory do the executable really need? - rustvisual studio code "Shell command: set the command" code "in the PATH command." - visual-studio-code"код" Не работает в командной строке для кода Visual Studio на OSX/Mac - visual-studio-codeAll Articles