---
description: Key Feature of Lens AI
---

# Features

## Memory Effciency

### **Fixed Memory Usage​**

The data structures used by Lens AI operate with a fixed amount of memory, making them ideal for applications with memory constraints or long-running processes where memory usage must remain predictable and bounded.

### **Scalability​**

Unlike classical histograms that might require more memory as more data is processed or as data complexity increases (e.g., higher resolution, multiple channels), these sketches maintain a consistent memory footprint, ensuring efficient scalability.

&#x20;The space complexity is  𝑂(1/𝜖log(𝜖𝑁)) where as classical logging it is O(N).

<figure><img src="https://1293874244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBxpe4kLU8KyHMlQtPS1%2Fuploads%2FmdmD7zOA9IyAVYwm9v1c%2Fimage.png?alt=media&#x26;token=e796d5bc-95db-4b8f-8a5c-f3e35e0d9818" alt=""><figcaption></figcaption></figure>

## Computational Efficiency

Lens AI leverages KLL datastructures that are designed for incremental updates, making them highly efficient for streaming data scenarios.

Amortized logarithmic insertion complexity ensures efficient handling of high-throughput data streams

Time complexity while insertion and query time better than classical logging

Get amazing things done with awesome feature two. But remember that awesome feature one and three exist too. In fact, Awesome Product is full of awesome features.

## Realtime Sampling

Wide range of built-in techniques for sampling data where the model is most uncertain.

Reduce datatransfer cost significantly

Keep your model updated always with the latest data
