Dataset in a class performance question
Performance-wise:
i have a class in my app. that holds a dataset and functions to access the dataset and obtain different data
is it better:
1) to have the dataset recreated each time a class is called to access a method on the data
-or-
2) to somehow have the class remain in memory throughout program execution.
if 2), then what would be the procedure for making the class stay instantiated in memory?
thanks in advance
Pete McNamee
[email protected]
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

sacrespRank #1,944 · 754 reputationPosted Dec 10, 2003, 8:52 PM EST
pete.mcnamee17 reputationPosted Dec 10, 2003, 10:10 PM EST
pete.mcnamee17 reputationPosted Dec 10, 2003, 10:10 PM EST