Click here to Skip to main content
16,015,097 members
Home / Discussions / C#
   

C#

 
GeneralRe: size of an object of a class Pin
tina->newcoder16-Jun-08 1:19
tina->newcoder16-Jun-08 1:19 
GeneralRe: size of an object of a class Pin
Eslam Afifi16-Jun-08 5:17
Eslam Afifi16-Jun-08 5:17 
QuestionConvert double to int32 problem Pin
Newbie_Toy15-Jun-08 7:45
Newbie_Toy15-Jun-08 7:45 
AnswerRe: Convert double to int32 problem Pin
User 665815-Jun-08 7:52
User 665815-Jun-08 7:52 
AnswerRe: Convert double to int32 problem Pin
buchstaben16-Jun-08 5:27
buchstaben16-Jun-08 5:27 
Question'Most used' queue Pin
Chris Maunder15-Jun-08 5:12
cofounderChris Maunder15-Jun-08 5:12 
AnswerRe: 'Most used' queue [modified] Pin
User 665815-Jun-08 5:43
User 665815-Jun-08 5:43 
GeneralRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 6:07
Eslam Afifi15-Jun-08 6:07 
I don't have much experience and this is primitive and slow and it’s certainly not what you’re looking for but here are my thoughts anyway. You have N objects and you want to get the top M of N each T period. I think you would associate an integer with each object and keep them in a list or something. Each time an object is accessed you increase the integer. Each T period you sort them and get the top M instead of maintaining them in a sorted structure.

About the rolling averages, this is the first time I hear about this and I don’t understand it. Doesn’t it depend on storing the last average and calculating a new average based on the current one? It’d be great if you explain it a little. Thank you.

Eslam Afifi

GeneralRe: 'Most used' queue Pin
Robert.C.Cartaino15-Jun-08 7:13
Robert.C.Cartaino15-Jun-08 7:13 
QuestionRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 7:32
Eslam Afifi15-Jun-08 7:32 
GeneralRe: 'Most used' queue Pin
Chris Maunder15-Jun-08 14:46
cofounderChris Maunder15-Jun-08 14:46 
GeneralRe: 'Most used' queue Pin
Eslam Afifi15-Jun-08 20:38
Eslam Afifi15-Jun-08 20:38 
AnswerRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 8:37
mvePete O'Hanlon16-Jun-08 8:37 
GeneralRe: 'Most used' queue Pin
Chris Maunder16-Jun-08 8:39
cofounderChris Maunder16-Jun-08 8:39 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 8:46
mvePete O'Hanlon16-Jun-08 8:46 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 9:12
mvePete O'Hanlon16-Jun-08 9:12 
GeneralRe: 'Most used' queue Pin
Chris Maunder16-Jun-08 9:18
cofounderChris Maunder16-Jun-08 9:18 
GeneralRe: 'Most used' queue Pin
Pete O'Hanlon16-Jun-08 9:22
mvePete O'Hanlon16-Jun-08 9:22 
QuestionA question, about my project. Pin
new_t15-Jun-08 3:30
new_t15-Jun-08 3:30 
AnswerRe: A question, about my project. PinPopular
Christian Graus15-Jun-08 3:42
protectorChristian Graus15-Jun-08 3:42 
AnswerRe: A question, about my project. [modified] Pin
#realJSOP15-Jun-08 3:43
professional#realJSOP15-Jun-08 3:43 
AnswerRe: A question, about my project. Pin
ginji2015-Jun-08 15:20
ginji2015-Jun-08 15:20 
AnswerRe: A question, about my project. [modified] Pin
Single Step Debugger16-Jun-08 3:47
Single Step Debugger16-Jun-08 3:47 
QuestionProblem in C# urdu [modified] Pin
Shuaib wasif khan15-Jun-08 1:59
Shuaib wasif khan15-Jun-08 1:59 
AnswerRe: Problem in C# urdu Pin
Nouman Bhatti15-Jun-08 23:25
Nouman Bhatti15-Jun-08 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.