I've got a table with a large number of rows that is not suitable for paging. The rows in this table can be sorted by clicking a column header which triggers a client side sorting algoritm based on http://www.exforsys.com/tutorials/jquery/jquery-basic-alphabetical-sorting.html The function dynamically adds an "expando" property to each r...
What is the performance difference between using an iterator to loop through an STL map, versus a vector? I'd like to use the map key for insertion, deletion, and some accesses, but I also need to do regular accesses to every element in the map.
...
If you were to have a naming system in your app where the app contains say 100 actions, which creates new objects, like:
Blur
Sharpen
Contrast
Darken
Matte
...
and each time you use one of these, a new instance is created with a unique editable name, like Blur01, Blur02, Blur03, Sharpen01, Matte01, etc. How would you generate the next...
The title speaks for itself.
I'm dealing with files/data near 2MB in size.
...
This is related to this question. It got me thinking that, for example, this book. Instead of it being a child of both [Agriculture] and [Other], in the trees [Books > Catalogs > Agriculture] and [Business & Industrial > Agriculture & Forestry > Other], respectively, it could just stand on its own have those levels as tags, instead.
In ...
I'm interested to know how I could improve the performance of SQL Server when using sequential GUID when using Access 2007 as a front end to SQL Server 2008 (please note it's the only context I'm interested in).
I have made some tests (and gotten some fairly surprising results, in particular from SQL Server when using sequential GUID: t...
Updated: The actual resolution that the compile box which served my compile request was different. In the slower instance I was running code compiled on a SuSE 9 but running on a SuSE 10 box. That was sufficient difference for me to drop it and compare apples to apples. When using the same compile box the results were as follows:
g++...
I have a problem. I try to display a UITable that could have 2000-20000 records (typicall numbers.)
I have a SQLite database similar to the Apple contacts application.
I do all the tricks I know to get a smoth scroll, but I have a problem.
I load the data in 50 recods blocks. Then, when the user scroll, request next 50 until finish th...
hi all,
can someone tell me two things about the net panel in firebug?
why is there a 'distance' between the first line and the following ones? what is happening there?
what is the exact meaning of the blue and red lines on the right side?
Any help is REALLY appreciated - thanks a lot in advance...
...
While developing sever applications, it's many times important to know how stuff works when connections slowdown, suddenly die, or have a very low throughput, however since it would cost a fortune to develop a test network that could emulate all the above "features", we need to emulate them through software.
One way to do this would be...
I intend to start developing an ASP.NET application and I am wondering which database to use. Performance is very important and the database should be able to handle without issues a database of about 50GB. I am wondering however, if a SQL Server license is worth paying for. I have looked for performance and scalability comparisons betwe...
I have the following issue: when a stored proc is called from my application, every now and then (like 1 time out of 1000 calls), it takes 10-30 seconds to finish. Typically, the sproc runs in under a second. It's a fairly simply proc with a single select that ties together a couple of tables. All the table names are set with a (NOLOC...
Standard EAV schema : One column for Entity ID, one for Attribute ID, one for Value ID.
Historical EAV schema : Add an additional column(s) for times/date-ranges
At run time, certain rows will be excluded. There may be 0, 1, or many rows returned per entity, per attribute. We only want the most recent value for each attribute remainin...
Is there extra overhead in using the object.ReferenceEquals method verses using ((object)obj1 == (object)obj2)?
In the first case, there would be a static method call involved, and in both cases some form of casting to an object would be involved.
Even if the compiler balances out those methods, what about inequality?
(object)obj != n...
I am using Perl readdir to get file listing, however, the directory contains more than 250,000 files and this results long time (longer than 4 minutes) to perform readdir and uses over 80MB of RAM. As this was intended to be a recurring job every 5 minutes, this lag time will not be acceptable.
More info:
Another job will fill the di...
I have previously asked a question about a stored proc that was executing too slowly on a sql server box, however, if I ran the sproc in Query Analyzer, it would return under one second. The client is a .NET 1.1 winforms app.
I was able to VNC into the user's box and, of course, they did not have SQL tools installed, so I cranked up ...
I have a table with an XML column. The documents are pretty large and numerous, and I've been trying various ways to improve the performance of basic queries.
Because the documentation indicates that applying an XML Schema to the column can help SQL Server to optimize queries — and because one was available — I created a schema collect...
With MySQL
a DIV b
is much faster than
FLOOR(a / b).
But I need to round up so I'm using,
CEIL(a / b)
It seems strange that there wouldn't be a ceiling version of DIV, but I can't find it. Is there anything undocumented hidden away somewhere? Or any other non floating point way to do this?
...
I am working with a WinForm application that was designed by the previous, now unreachable, develeper. In this app farms are embedded in TabControls through some custom code. My question is, Can anyone help to try and explain why there is a custom _Paint() function in each form that is called from the Load event for that form.
This ...
I am working on a store search API using Lucene.
I need to show store search results for each City,State combination with its frequency in brackets....for example:
Los Angles,CA (450)
Atlanta,GA (212)
Boston, MA (78)
.
.
.
As of now, my search results return around 7000 Lucene documents, on average, if the user says "Show me all the ...