mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
update notcurses_cell and USAGE: 32MB egcpool max
This commit is contained in:
parent
e1cfe9394f
commit
172ef7580f
2
USAGE.md
2
USAGE.md
@ -1513,7 +1513,7 @@ useful to use a `cell` when the same styling is used in a discontinuous manner.
|
||||
//
|
||||
// Each cell occupies 16 static bytes (128 bits). The surface is thus ~1.6MB
|
||||
// for a (pretty large) 500x200 terminal. At 80x43, it's less than 64KB.
|
||||
// Dynamic requirements can add up to 16MB to an ncplane, but such large pools
|
||||
// Dynamic requirements can add up to 32MB to an ncplane, but such large pools
|
||||
// are unlikely in common use.
|
||||
//
|
||||
// We implement some small alpha compositing. Foreground and background both
|
||||
|
@ -132,7 +132,7 @@ of **cell_load()**, **cell_prime()**, or **cell_duplicate()**. All of these
|
||||
functions first call **cell_release()**, as does **cell_load_simple()**. When
|
||||
done using a **cell** entirely, call **cell_release()**. **ncplane_destroy()**
|
||||
will free up the memory used by the **cell**, but the backing egcpool has a
|
||||
maximum size of 16MiB, and failure to release **cell**s can eventually block new
|
||||
maximum size of 32MiB, and failure to release **cell**s can eventually block new
|
||||
output.
|
||||
|
||||
# RETURN VALUES
|
||||
|
Loading…
x
Reference in New Issue
Block a user