Hi,

I added some features to my ca awhile back and the program slowed down a lot. I thought it was because of the way I changed the probabilities, so I finally got around to changing them back to something very similar.

The thing that I really don't understand is the following. The program uses fixed sized arrays that are always declared. The arrays are only erased/initialized for the upcards asked. When I calculate the strategies one upcard at a time, the net calculation time is only 43% of the time it takes if I just run all the upcards together. It's only 82% of the time in the original program so overall, the program is a lot slower, although it's the same time with either if you do the upcards individually. I could understand it if I declared the arrays based on the number of upcards - but since they're always the same - why is it so much slower? Does anyone have any idea? And if so, is there a way to avoid this problem and make it just as fast if it runs straight through?

Thanks in advance,
MGP