mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
trim down lru cache sizes
refs: https://github.com/wez/wezterm/issues/2453
This commit is contained in:
parent
3b4e859956
commit
ad7199c1cc
@ -696,17 +696,17 @@ impl TermWindow {
|
|||||||
shape_cache: RefCell::new(LruCache::new(
|
shape_cache: RefCell::new(LruCache::new(
|
||||||
"shape_cache.hit.rate",
|
"shape_cache.hit.rate",
|
||||||
"shape_cache.miss.rate",
|
"shape_cache.miss.rate",
|
||||||
65536,
|
1024,
|
||||||
)),
|
)),
|
||||||
line_to_ele_shape_cache: RefCell::new(LruCache::new(
|
line_to_ele_shape_cache: RefCell::new(LruCache::new(
|
||||||
"line_to_ele_shape_cache.hit.rate",
|
"line_to_ele_shape_cache.hit.rate",
|
||||||
"line_to_ele_shape_cache.miss.rate",
|
"line_to_ele_shape_cache.miss.rate",
|
||||||
65536,
|
1024,
|
||||||
)),
|
)),
|
||||||
line_to_ele_cache: RefCell::new(LruCache::new(
|
line_to_ele_cache: RefCell::new(LruCache::new(
|
||||||
"line_to_ele_cache.hit.rate",
|
"line_to_ele_cache.hit.rate",
|
||||||
"line_to_ele_cache.miss.rate",
|
"line_to_ele_cache.miss.rate",
|
||||||
65536,
|
1024,
|
||||||
)),
|
)),
|
||||||
last_status_call: Instant::now(),
|
last_status_call: Instant::now(),
|
||||||
cursor_blink_state: RefCell::new(ColorEase::new(
|
cursor_blink_state: RefCell::new(ColorEase::new(
|
||||||
|
Loading…
Reference in New Issue
Block a user