aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-10 12:35:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-10 12:35:48 -0300
commit3b57e37e4821ddce4756428956b7e9f4969efa4c (patch)
treea0bd071341349d964d98f55e7c2be8860792ff1f /manual
parent024f9064f1b43758eb36aba52547edc0312bf4ba (diff)
downloadlua-3b57e37e4821ddce4756428956b7e9f4969efa4c.tar.gz
lua-3b57e37e4821ddce4756428956b7e9f4969efa4c.tar.bz2
lua-3b57e37e4821ddce4756428956b7e9f4969efa4c.zip
Fixed buffers save long strings as external.
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 9d6a7fd9..9ca28aee 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -3651,8 +3651,10 @@ Moreover, it may have a @Char{B} instead of a @Char{b},
3651meaning a @emphx{fixed buffer} with the binary dump. 3651meaning a @emphx{fixed buffer} with the binary dump.
3652 3652
3653A fixed buffer means that the address returned by the reader function 3653A fixed buffer means that the address returned by the reader function
3654should contain the chunk until everything created by the chunk has 3654will contain the chunk until everything created by the chunk has
3655been collected. 3655been collected;
3656therefore, Lua can avoid copying to internal structures
3657some parts of the chunk.
3656(In general, a fixed buffer would keep the chunk 3658(In general, a fixed buffer would keep the chunk
3657as its contents until the end of the program, 3659as its contents until the end of the program,
3658for instance with the chunk in ROM.) 3660for instance with the chunk in ROM.)