The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
31 views

Can't find the memory leak [closed]

This is a simple python script (converted to windows service) that monitors a process to see if its pegging the CPU. If its pegged for 20 iterations it kills the process. The problem is that after it ...
0
votes
2answers
104 views

Correct way of using HBRUSHes..?

If I create a brush like so HBRUSH hBrush = CreateSolidBrush(RGB(33, 33, 33)); and then later on, I want to change the color of the brush, how would I do this? I googled a bit and found out that ...
3
votes
4answers
428 views

Improve C# code efficiency by leveraging dot net framework

I have written following code to find the minimum difference from a list of numbers. Because I am using a loop once and LINQ again to find the minimum, the algorithm is O(N^2). Can you please tell ...
2
votes
1answer
733 views

Backbone.js: Will this code get cleaned up by the garbage collector

I have been working on a Backbone.js application, and I am starting to think I am making a huge mistake. I never fully understand garbage collecting, and how exactly some closures prevent it. I just ...