You are doing a high number of low level byte operations in a high level scripting language. That's why.
just made this lua prog, but is soooooo slow
NE1 NO Y?
e.g. is there optimum block size for copyChunk()
**edit 3/6/7 : much quicker version now at http://www.dcemu.co.uk/vbulletin/showthread.php?t=65186
You are doing a high number of low level byte operations in a high level scripting language. That's why.
yes, I'd like ability to combine Lua & MIPS for time sensitive code (like c++) thought there may be a way past the sandbox using the pspinside patch engine...
...well i NO hacking luaplayers a tall order.
til then what im looking 4 are methods in lua io to
- move the file pointer to data.psar as 1 op without reading every byte on the way there.
- read or write block of bytes in file by fastest way as possible
Also info on 'r+' & 'b' modes very apreciated (+rep waiting)
**edit 3/6/7 : found a way 2.. http://www.dcemu.co.uk/vbulletin/showthread.php?t=65186 **
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks