update notcurses_cell and USAGE: 32MB egcpool max

This commit is contained in:
nick black 2020-08-12 19:13:57 -04:00
parent e1cfe9394f
commit 172ef7580f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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