Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-python/src/functions/string_cache.rs
7889 views
1
use pyo3::prelude::*;
2
3
#[pyfunction]
4
pub fn enable_string_cache() {
5
// The string cache no longer exists.
6
}
7
8
#[pyfunction]
9
pub fn disable_string_cache() {
10
// The string cache no longer exists.
11
}
12
13
#[pyfunction]
14
pub fn using_string_cache() -> bool {
15
// The string cache no longer exists.
16
true
17
}
18
19
#[pyclass(frozen)]
20
pub struct PyStringCacheHolder;
21
22
#[pymethods]
23
impl PyStringCacheHolder {
24
#[new]
25
fn new() -> Self {
26
Self
27
}
28
}
29
30