Questions related to improving application performance, this can be range from selection software architecture to selection of algorithms.
0
votes
1answer
22 views
Java Alphabetize Algorithm Insertion sort vs Bubble Sort
I am supposed to "Develop a program that alphabetizes three strings. The program should allow the user to enter the three strings, and then display the strings in alphabetical order." It's instructed ...
0
votes
3answers
118 views
Limited resource practice problems? [closed]
Background: I have applied to some large companies, and the areas I seem to be having problems with involve limited memory, disk-space, or throughput. These large companies process GBs of data every ...
17
votes
7answers
962 views
Does software rot refer primarily to performance, or to messy code?
Wikipedia's definition of software rot focuses on the performance of the software. This is a different usage than I am used to; I had thought of it much more in terms of the cleanliness and design of ...
4
votes
1answer
147 views
How can I compute the Big-O notation for a given piece of code? [closed]
So I just took a data structure midterm today and I was asked to determine the run time, in Big O notation, of the following nested loop:
for (int i = 0; i < n-1; i++) {
for(int j = 0; j < ...
1
vote
0answers
44 views
Metrics / Methodology for estimating resource utilization for software in planning stage
I'm looking for approaches to estimate the resource utilization of an (web-)application in a JEE environment. The overall target is to get a forecast for hardware/software requirements while the ...
3
votes
2answers
169 views
Is script grouping and minification counter-productive?
On a web page I have 1 script tag that contains all my minified JavaScript (I use SquishIt for .NET).
However I see that a few people prefer to load their scripts in parallel using something like ...
22
votes
9answers
1k views
Simple vs Complex (but performance efficient) solution - which one to choose and when?
I have been programming for a couple of years and have often found myself at a dilemma.
There are two solutions -
one is simple one i.e. simple approach, easier to understand and maintain. It ...
2
votes
0answers
173 views
Performing client-side OAuth authorized Twitter API calls versus server side, how much of a difference is there in terms of performance?
I'm working on a Twitter application in Ruby on Rails. One of the biggest arguments that I have with other people on the project is the method of calling the Twitter API. Before, everything was done ...
6
votes
1answer
120 views
Optimizing hash lookup & memory performance in Go
As an exercise, I'm implementing HashLife in Go.
In brief, HashLife works by memoizing nodes in a quadtree so that once a given node's value in the future has been calculated, it can just be looked ...
10
votes
12answers
1k views
Compilable modern alternatives to C/C++ [closed]
I am considering writing a new software product. Performance will be critical, so I am wary of using an interpreted or language or one that uses a emulation layer (read java).
Which leads me to ...
0
votes
2answers
168 views
The limit of Int32 for Identity Column
This is just a consideration for a site am creating and for other big sites out there.
I am using Identity Column to store the ID of some of my tables and I have classes whose Id are decorated with ...
8
votes
1answer
141 views
Is there any better approach to shortest path finding within a (vehicular) traffic network?
Dear fellow programmers,
We're developing software which simulates vehicular traffic.
Part of the process called "assignment" is concerned with assigning vehicles to their routes and has to use some ...
6
votes
2answers
240 views
What does it mean by expected running time and average runnnig time of an algorithm?
Let's say we want to analyze running time of algorithms. Sometimes we say that we want to find the running time of an algorithm when the input size is n and for the worst possible case it is denote it ...
68
votes
11answers
14k views
What backs up the claim that C++ can be faster than a JVM or CLR with JIT? [closed]
A reoccurring theme on SE I've noticed in many questions is the ongoing argument that C++ is faster and/or more efficient than higher level languages like Java. The counter-argument is that modern JVM ...
1
vote
1answer
44 views
Eager Loading Constraints
The thing is, eager loading some object with all of it's associations reduces the queries made to the database, but the query time is greatly increased.
The question is: This increased query time in ...