|
Author |
Topic: Optimization... (Read 359 times) |
|
ess
|
Optimization...
« on: Apr 23rd, 2004, 9:56pm » |
|
Hi, I'm new to Processing (about 2 weeks) and programming in general. But so far I've found p5 intuitive and it looks like a great group of people are gathering around here to share ideas. I made a couple of test applets, but here is my first object oriented program (it's just a study for a bigger project): http://mywebpages.comcast.net/warptera/p5/Window_Panes/ My question is about optimization. I realize this type of knowledge probably only comes with experience, but do you guys have any general tips for a beginner? For instance, a friend told me that "variable*.5" requires less resources that "variable/2". Specifically I was wondering if someone could look at the way I populated the arrays containing the X,Y coors for each pane. thanks
|
|
|
|
|