esfml
esfml copied to clipboard
Double allocation when loading files with asset library
A double allocation and memory copy is performed when loading files with asset library. Currently, it first copies a file into memory, then call loadFromMemory()
which copies our fresh copy, again. We should use sf::InputStream and use loadFromStream()
instead.