Brunni
Joined: 08 Oct 2005 Posts: 186
|
Posted: Sat Mar 04, 2006 6:33 am Post subject: sceIoRead slower than fgetc? |
|
|
Hello ^^
I have a problem with sceIoRead, it's extremely slow when reading only one byte from a file. It takes more than 20'000% the time from a fgetc to complete.
I took a look at the stdio source, and fgetc calls fread with 1,1, as a size, and fread returns sceIoRead(file, buffer, 1). It's what I'm doing also.
Can somebody explain me why there's a so big difference? sceIoRead takes about the same time to read 10k or 1 byte, and I don't want to do buffering because I have not much free memory, and lots of files will be opened at once.
Thanks in advance _________________ Sorry for my bad english
Oldschool library for PSP - PC version released |
|