For questions pertaining to the measurement or improvement of code efficiency.
0
votes
0answers
5 views
Indexed Views on Sql server 2008 R2
I have a Sql Server 2008 R2 database containing a very huge table that we use for reporting. Every night around 40,000 records are inserted into the table. I read in many articles that Indexed views ...
0
votes
1answer
18 views
Performance considerations for unmatched selectors
It's oft recommended optimization to consolidate your javascript into fewer parts and reduce the number http requests. On a smaller site you could easily arrive at structure like:
/js/jQuery-xx.js
...
1
vote
0answers
10 views
MySQL index in between where clause and order by clause
My table structure is something like below:
CREATE TABLE test (
id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
field_1 VARCHAR(60) NOT NULL,
field_2 INT(10) UNSIGNED NULL,
field_3 ...
0
votes
1answer
44 views
Java - Directly accessing an object in a list that contains a given value
I am searching for a way in Java to directly access an object in a list that contains a given object.
what i mean is something like this
List<ObjectA> list = new ArrayList<ObjectA>();
...
1
vote
3answers
27 views
.filter(':last') vs. .last()
I was wondering if there is any difference between .filter(':last') and .last()?
For me it looks like they're doing the same, but I'm new to jQuery. If there is no difference in the result, which one ...
0
votes
1answer
8 views
WCF InsufficientMemoryException from Server while buffering
I am getting this error on my server.
System.InsufficientMemoryException, mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
Failed to allocate a managed memory ...
0
votes
0answers
11 views
Which approach and database to use in performance-critical solution
I have the following scenario:
Around 70 million of equipments send a signal every 3~5 minutes to
the server sending its id, status (online or offiline), IP, location
(latitude and longitude), ...
0
votes
1answer
35 views
An efficient Javascript set structure
After reading many similar questions:
JavaScript implementation of a set data structure
Mimicking sets in JavaScript?
Node JS, traditional data structures? (such as Set, etc), anything like ...
0
votes
0answers
27 views
Importing Large Matrices: Import All or by Column? - MATLAB
General programming question, but there might be specific considerations for Matlab.
I will be importing very large data file. Is it better practice/faster/more efficient to import the whole file ...
0
votes
0answers
10 views
Y.DataSchema.JSON.apply() performance problems in FireFox
I am calling:
Y.DataSchema.JSON.apply( { ... }, "..." )
against a large complex JSON string -- 275K in size, with elements nested four levels deep. Additionally, some of the parsers in the schema ...
0
votes
1answer
16 views
Activity Load Time Calculate
i will use google analytics user timing api 1 and i want to find load time when activity loaded. How to do this? is there any way?
thank you.
0
votes
0answers
21 views
QT how to read part of a column faster from a SQL Database
I wrote the following function:
double_array get_open(QSqlDatabase db, QString symbol, int start_date, int end_date) {
QSqlQuery qry(db);
QString stat("select id, startdate, enddate from stocks ...
0
votes
1answer
13 views
SPDY and lazy image loading via JavaScript
I'd like to load a bunch of images via JavaScript and insert them into my page. When the web server supports SPDY, does each image generate a new request or are all the image request bundled into one ...
0
votes
1answer
45 views
Difference between # and // in php?
<?php
# some comment
?>
and
<?php
// some comment
?>
are used for single-line code commenting in PHP, and that former comes from shell scripting and // comes from C++.
...
0
votes
1answer
21 views
Log duration of an ASP Web API action
I am using an ActionFilter to log all action calls of my ASP.NET Web API project. The OnActionExecuted method tells a lot about what's been happening.
I just can't figure out how to find an efficient ...