If I make a database of images for mushclient to use in miniwindows would I notice a performance increase with loading images?
Loading Images
Posted by Slick2175 on Sun 07 Dec 2014 06:45 AM — 4 posts, 15,848 views.
Compared to what other method?
for a in db:nrows([[SELECT * FROM images WHERE name = 'sword']]) do
WindowLoadImageMemory (win, "im", a.image)
WindowDrawImage (win, "im", 20, 20, 0, 0, 1) -- straight copy
end
Compared to just using the standard. just trying to figure out the fastest way of loading and drawing images.
WindowLoadImage(win, "img", etc)
WindowDrawImage(win, etc
I imagine the database would be slightly slower, as it has to look the data up. However it would save having to open the file. Whether you would notice the difference it is hard to say.