loadfile?
#226
Replies: 1 comment
-
Hi, I think a variant of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the standard C Lua API, luaL_loadfile (or alternatively lua_load + lua_Reader) allows loading a file without having to first read it whole into memory, as a "stream" of "blocks" (calls to lua_Reader). Is it possible to load a Lua file in luar in a streamed way, without first reading it whole into memory? I didn't seem to be able to find such a feature, which made me somewhat surprised; I'm curious if there are some reasons for this, or it just was not really added yet? It's not that I desperately need it at the moment, but I admit I'd like to be able to make a mental note as to what's the maintainers position on this? Or if I just missed something obvious?
Beta Was this translation helpful? Give feedback.
All reactions