diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.utils/-cache/-init-.html')
-rw-r--r-- | api1/pl.treksoft.kvision.utils/-cache/-init-.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.utils/-cache/-init-.html b/api1/pl.treksoft.kvision.utils/-cache/-init-.html new file mode 100644 index 00000000..05af599a --- /dev/null +++ b/api1/pl.treksoft.kvision.utils/-cache/-init-.html @@ -0,0 +1,17 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Cache.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.utils</a> / <a href="index.html">Cache</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.utils.Cache$<init>(kotlin.Int)"></a> +<code><span class="identifier">Cache</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.utils.Cache$<init>(kotlin.Int)/capacity">capacity</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a> <span class="symbol">=</span> 50<span class="symbol">)</span></code> +<p>This is a LRU cache that has no performance impact for cache insertions +once the capacity of the cache has been reached. For cache hit, +performance is O(1) and for cache eviction, it is O(1).</p> +</BODY> +</HTML> |