3 ms·
Time for fun project stories: I once wrote a Java GUI program. That was 2007, Swing was still a thing, and "rich" frontend were still very basic (since there we
by ktpsns 7y ago
Time for fun project stories: I once wrote a Java GUI program. That was 2007, Swing was still a thing, and "rich" frontend were still very basic (since there were no really good HTML engines for Swing/AWT).
So one day, I thought I would replace all bitmap icons in my application with SVG icons, because hell yes, vector, it must be better. And other projects did it alreay at that time, such as KDE/Gnome which used https://wiki.gnome.org/action/show/Projects/LibRsvg https://wiki.gnome.org/action/show/Projects/LibRsvg
So I added a Java library for rendering SVG to bitmaps. It brought several Megabytes of JAR dependencies. These libraries were much bigger then my whole application.
Conclusion? The whole program was much slower then before. Rendering time was really a thing. And this was not about thousands of icons or so, just a pretty standard GUI application with a few (less then ten) icons at a time.
Lession learned: Processing vector images to bitmap takes more time then just displaying bitmap. Especially on old slow computers.