Ok, everyone in a programming efficiency class or still remembers their notes on the subject...I've got a question.
I have a program where I have to take a performance hit--there's no way around it.
My choices:
1. Take the hit when a create an object and the hit is that I do x assign statements twice.
2. Take the hit every time I reinit the object and the hit is that I have an extra jump.
I don't know how many times I'll reinit the same object versus create a new instance. There will be at least one section where I'll probably reinit the same object several times.
Which one is the worst hit in terms of CPU cycles only?