From 7306a29d1e86cbf82a3b7e6f70195a58767c8c62 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 9 Jul 2025 18:19:48 +0300 Subject: [PATCH] update comment --- src/index/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index/value.rs b/src/index/value.rs index 2dc2493..de50e47 100644 --- a/src/index/value.rs +++ b/src/index/value.rs @@ -49,7 +49,7 @@ fn filter_list(value: Option>) -> Option> value.map(|f| f.into_iter().map(|(n, l)| (filter(n), l)).collect()) } -/// Crop long values (prevents unexpected memory pool usage) +/// Strip tags and bom chars, crop long strings (prevents memory pool overload) fn filter(value: String) -> String { const C: usize = 125; // + 3 for `...` offset, 128 chars max @TODO optional let s = value._strip_bom()._strip_tags();