You are browsing as a guest. Sign up (or log in) to start making projects!

5h 37m 55s logged

Halfway done rewriting Gui.cpp—Lots of bug fixes and speed improvements!

If you want to check out or support this project, you can click the GitHub link! https://github.com/k754a/C-Plus-Plus-Web-Engine

Over the last 2 days, I’ve rewritten about half of GUI.cpp (up to the GUIRENDER function), with changes, bug fixes, and speedups that helped the engine a lot!


The main speedup came from changing the way I handled the font so that I loaded it once, not every loop. This allowed a lot less SSD usage and a gradual increase of performance, up to about 50% for large sites!

I worked a lot on organization and got it so that different functions are grouped together, even moving some to different scripts that fit better!

The final change was reworking how images and the home button worked, and it allowed me to drop a function, as well as have much faster image batch loading times!

Going through the code made me realize how many bugs and bad code I did. I fixed a lot of it, but I still got a bit to go!

Overall it was a good day. My plan for everything else is to finish the rest of GUI.cpp, start work on a settings page, and try to make the parser faster still!

Thanks for reading!

0
38

Comments 0

No comments yet. Be the first!