{"id":19,"date":"2023-05-20T20:07:44","date_gmt":"2023-05-20T20:07:44","guid":{"rendered":"https:\/\/blogs.scummvm.org\/eklipsed\/?p=19"},"modified":"2023-05-20T20:07:44","modified_gmt":"2023-05-20T20:07:44","slug":"messy-code-but-its-faster","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/eklipsed\/2023\/05\/20\/messy-code-but-its-faster\/","title":{"rendered":"Messy Code. But its faster!"},"content":{"rendered":"\r\n<p>I got the drawing function 4.2x faster! Although, it only works if both the screen is ARGB8888 and the bitmap is ARGB8888. So What I&#8217;m going to focus on is making sure the engine keeps the bitmaps at the same format of the screen so I can make the code cleaner and make the optimizations more generic and make them work for all formats.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>I got the drawing function 4.2x faster! Although, it only works if both the screen is ARGB8888 and the bitmap is ARGB8888. So What I&#8217;m going to focus on is making sure the engine keeps the bitmaps at the same format of the screen so I can make the code cleaner and make the optimizations [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":25,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/posts\/19\/revisions\/25"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/eklipsed\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}