Loading files from RAM possible?

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Loading files from RAM possible?

Post by Art »

Hi Guys,
Just wondering if there's a way to load a file from RAM to save on the
huge overhead of loading it from memory stick?
This assumes of course, that the file was preloaded when the main program started.

We know that index.lua is loaded into RAM before it is interpreted by LUAplayer,
allowing us to edit the file over USB while it is running, but if your index.lua
file contains the line: dofile "index.lua", the file is reloaded from memory
stick, even though it already exists in RAM.
Art.
Post Reply