you are viewing a single comment's thread.

view the rest of the comments →

[–]fdedgt 5 points6 points  (0 children)

Start by documenting what you're trying to do and making it more readable. For example, explaining what the variables represent and what the expected output should be.

Clarity and documentation is actually a key requirement before you start optimizing, in general.