Performance code writing

There are a few things to think off when writing code, design requirements and performance. If we include the thought process of performance when developing we can often improve our overall code performance at the time of writing.

Continue reading

Advertisements

Internal methods

There are often times that we write a method within a method to reduce the amount of code we have to write and often to allow for recursive code. This would look something like:

void program()
{
int    i;
void internal()
{
some code;
}
code;
}

Continue reading