Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
112 user(s) are online (101 user(s) are browsing Forums)

Members: 0
Guests: 112

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 (3)
Re: SDL3
Site Builder
Site Builder


See User information
@Capehill
Awesome news. Can you please give some extra context about SDL_PROP_IOSTREAM_AMIGAOS4_USE_BUFFERED and if this is something we have to enable in our apps?

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: SDL3
Just can't stay away
Just can't stay away


See User information
@walkero

According to dos.library documentation, "Buffered I/O is more efficient for small reads and writes". If you use SDL_IOStreams, you may need to test both to see.

Go to top
Re: SDL3
Home away from home
Home away from home


See User information
@Capehill
Quote:
According to dos.library documentation, "Buffered I/O is more efficient for small reads and writes".
Compared to unbuffered dos.library (IDOS->Open(), IDOS->Read(), IDOS->Write(), IDOS->Close(), etc.) and unbuffered POSIX low level I/O (open64(), read(), write(), close(), etc.): Yes.
Compared to C library buffered I/O (fopen64(), fread(), fwrite(), fclose(), etc.): No, using buffered C library I/O is often faster than using buffered dos.library I/O (IDOS->FOpen(), IDOS->FRead(), IDOS->FWrite(), IDOS->FClose(), etc.). At least in case of newlib and ixemul, no idea about libnix, clib2, clib4 and vclib.

Go to top

  Register To Post
« 1 2 (3)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project