What is the "fastest data type" to save images in a DB?
Base64 strings or arrays of bytes (BLOB)?
[the real question should be which of them requires less memory. Well, I can do some tests, but if you are fast... thank you]
P.S.
I have to share this information between client and server.
I suppose that this is always a normal exchange of bytes and so this does not affect.
...
After few tests on little bitmaps, strings require about 30% more memory.
Base64 strings or arrays of bytes (BLOB)?
[the real question should be which of them requires less memory. Well, I can do some tests, but if you are fast... thank you]
P.S.
I have to share this information between client and server.
I suppose that this is always a normal exchange of bytes and so this does not affect.
...
After few tests on little bitmaps, strings require about 30% more memory.
Last edited: