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

C#

 
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 
Never mind - I need to get my brain back into gear here. Basically, what you have is an optimisation problem - effectively you've got a matrix MxN, where M represents the number of objects and N represents the accesses. What you could do is create a sparse matrix, whereby you would put the value in and the time you last access time for each accessed object. Now, every so often you will want to iterate over this list and remove those objects that haven't been accessed since the last collection. At this point, you have a sparse matrix.

Deja View - the feeling that you've seen this post before.

My blog | My articles



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 
QuestionNeed Article About Using MSMQ Triggers in .Net 2.0 and Windows XP. Pin
hdv21215-Jun-08 1:58
hdv21215-Jun-08 1:58 
QuestionIncluding WPF Components Pin
Muammar©14-Jun-08 23:12
Muammar©14-Jun-08 23:12 
AnswerRe: Including WPF Components Pin
jamie55015-Jun-08 1:31
jamie55015-Jun-08 1:31 
GeneralRe: Including WPF Components Pin
Muammar©15-Jun-08 1:33
Muammar©15-Jun-08 1:33 
GeneralRe: Including WPF Components Pin
jamie55015-Jun-08 1:53
jamie55015-Jun-08 1:53 
GeneralRe: Including WPF Components Pin
Muammar©15-Jun-08 1:58
Muammar©15-Jun-08 1:58 
GeneralRe: Including WPF Components Pin
jamie55015-Jun-08 2:03
jamie55015-Jun-08 2:03 
GeneralRe: Including WPF Components Pin
Muammar©15-Jun-08 3:06
Muammar©15-Jun-08 3:06 

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.