View Single Post
01-18-13, 07:48 PM   #10
Barjack
A Black Drake
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 89
Perhaps if we extract all logic from all of our functions, we can solve this problem. Take it all and move it into one gigantic, monolithic loop that runs... better be safe, and make it 19 times per second. Have it loop over tables and tables of frames, doing everything it can do to avoid calling functions. We will finally have achieved efficiency and programming excellence by minimizing the number of function calls we make per second. And as we survey the beast, our eyes can safely glaze over while scanning the contents of our inner loops, knowing that at least the code in that loop isn't in a function being called 20 times a second. Instead, it sits here, safely, in a loop that executes 20 times a se--oh... Oh no...!
  Reply With Quote