For poor performance reasons, the DataGrid will cache checkboxes and reuse them for different rows. If you have 50 rows, it won't create 50 checkboxes. It will create as many checkboxes at are visible, plus a few more for padding, and then reuse them as you scroll. This is why you need to explicitly manage their state.
How can improve i...
Bing has been around for more than 2 months now.There has been some positive reviews about bing. Some experts in search areas have pointed out that Bing results are more relevant than Google's since its index is still not cluttered with unnecessary garbage.
Does these claims have any truth behind them ?
...
i am using apple's page control sample and showing three different types of views.
the scrolling is very slow in device because i am having a uitable a 5 to 7 labels on my view.and everything is updating from database.how do i increase performance of my scrolling behaviour.so that it scrolls very fast in device.
...
This morning my boss and I had a long and ultimately fruitless discussion about this, in the context of trying to diagnose performance problems with a web application. We didn't really come to any conclusions.
I think we're right in thinking that Serializable non-static inner classes have issues, but we're not sure precisely what the i...
We use IIS servers and would like to know if there is a performance counter or something else which could help us determine how long it's taking to serve web pages (average, actual, whatever)? From the time the page is requested, to the time it has been sent out, how long was it? Is there anything in IIS which can give me this informat...
At the moment I am just resetting the styles I need at the top of my style-sheet, like:
html, body, div, fieldset, form, h1, h2, h3, h4, p, ul, li {
margin: 0;
padding: 0;
}
However, I have seen a lot of times that people use:
* {
margin: 0;
padding: 0;
}
That does seem to make things easier, but somewhere else (don...
Hi,
is a unique constraint an index by default? If not, does a unique constraint has the same performance results as an indexed column when using it in the "select .. where" clause?
thanks
...
What way is the fastest of deciding whether a point is inside a parallelogram/rhomboid?
...
I'm trying to tune the performance of my application. And I'm curious what methods are taking the longest to process, and thus should be looked over for any optimization opportunities.
Are there any existing free tools that will help me visualize the call stack and how long each method is taking to complete? I'm thinking something that ...
I generally include 1 functions file into the hader of my site, now this site is pretty high traffic and I just like to make every little thing the best that I can, so my question here is,
Is it better to include multiple smaller function type files with just the code that's needed for that page or does it really make no difference to j...
When using MyISAM the configuration setting key_buffer_size defines the size of the global buffer where MySQL caches frequently used blocks of index data.
What is the corresponding setting for InnoDB?
...
Let's say because of a conditional comment or just being careless the same included file is present for users of some browser or even all browsers. For example:
<!--[if lte IE 8]>
<script src="mygreatincludefile.js" type="text/javascript"></script>
<![endif]-->
<!--[if lte IE 6]>
<script src="mygreatincludefile.js" type="text...
I just saw this in a script
mysql_free_result($rawdb);
I saw it on a script somewhere, it ran a mysql query and saved the results to an array, right after adding to the array, it ran that which I assume free's the memory used from the mysql query.
I am just asking to verify, is it a good idea to do this? I have a couple mysql querie...
I have a few regular expressions which are run against very long strings. However, the only part of the string which concerns the RE is near the beginning. Most of the REs are similar to:
\\s+?(\\w+?).*
The REs capture a few groups near the start, and don't care what the rest of the string is. For performance reasons, is there a way t...
Hi all,
I have and normal select query that take nearly 3 seconds to execute (Select * from users). There are only 310 records in the user table.
The configuration of the my production server is
SQl Server Express Editon
Server Configuration : Pentium 4 HT, 3 ghz , 2 GB ram
Column Nam Type NULL COMMENTS
Column Nam Type NULL...
I'm trying to start using plain text files to store data on a server, rather than storing them all in a big MySQL database. The problem is that I would likely be generating thousands of folders and hundreds of thousands of files (if I ever have to scale).
What are the problems with doing this? Does it get really slow? Is it about the sam...
I'm trying to measure the time it takes to execute a piece of code on my production server. I'd like to monitor this information in real time, so I decided to give Performance Analyser a whizz. I understand from MSDN that I need to create both an AverageTimer32 and an AverageBase performance counter, which I duly have. I increment the...
In performance monitor, what is the difference between counter log and trace log? Any guidelines on when we should use each of them?
...
I am interested in help selecting one of the common symmetric encryption algorithms (Twofish, AES, etc) based on performance criteria (fastest encryption/decryption). We are currently leaning toward AES, but since the communications we are sending back and forth don't really need that level of encryption, a less secure algorithm would b...
I have several queries which use a WITH clause, or Common Table Expression, with a UNION ALL statement to recur through a table with a tree like structure in SQL server as described here. Would I see a difference in performance if I were to CREATE that same VIEW instead of including it with the WITH clause and having it generated every ...