Questions related to improving application performance, this can be range from selection software architecture to selection of algorithms.
-1
votes
0answers
38 views
iOS: what can cause a sudden CPU usage hike? [migrated]
My game will be using 2 - 6% when I'm observing in instruments, then suddenly it hikes up for half a moment to something higher, and then a short time later it will hike up to 118% and everything will ...
3
votes
1answer
82 views
Hadoop and Object Reuse, Why?
In Hadoop, objects passed to reducers are reused. This is extremely surprising and hard to track down if you're not expecting it. Furthermore, the original tracker for this "feature" doesn't offer any ...
3
votes
3answers
211 views
Is Python suitable for a statistical modeling application looking over thousands of past events?
I'm currently working on a project with a partner where we analyze large datasets of past sporting events. There are approximately 30,000 events per year and we have historical data for five years. ...
0
votes
1answer
146 views
Most efficient multiple condition IF statement
I am using a function to compare over 100 variables inside of classes to each other an am curious if one method of comparing multiple condition statements is more efficient than another. I am ...
-2
votes
1answer
48 views
Constant comparison vs calling a function
This
if($obj->type == MyClass::TYPE_1){
}
vs this:
public function isType1(){
return $this->type == self::TYPE_1;
}
...
if($obj->isType1()){
}
I figure that the first will be ...
0
votes
3answers
337 views
Super Fast File Storage Engine
I basically have one big gigantic table (about 1.000.000.000.000 records) in a database with these fields:
id, block_id, record
id is unique, block_id is not unique, it contains about 10k (max) ...
0
votes
1answer
77 views
How to convey your approach is faster than the built-in, alternative approaches?
Imagine you have a tool that's much faster than another one (built-in, alternative). You want to mention this in the description of the tool so people can see the point of your tool existing.
By ...
1
vote
0answers
78 views
How many Angular Controllers and/or Directives is too many?
I'm building a large, editable data table with angular, and I'm trying to figure out what the best practice is.
The table will be a couple of hundred rows, with a couple of dozen columns, so upwards ...
-1
votes
3answers
390 views
C++ Performance vs. Java/C# [closed]
My understanding is that C/C++ produces native code to run on a particular machine architecture. Conversely, languages like Java and C# run on top of a virtual machine which abstracts away the native ...
0
votes
1answer
96 views
Console Application vs GUI? [closed]
I'm trying to develop a minimal MP3 player with some cool but light features. It is so simple that it doesn't matter if it is console application or not.
Since my purpose is to consume the sources as ...
0
votes
0answers
124 views
Best method for async initialization of view model in MVVM pattern (WPF)
I'm working on a business application (C#, WPF, EF, MVVM). I need to load a bunch of items from database, create view models for them and put them in a window. Is there a way to create the view model ...
5
votes
4answers
489 views
Why did the team at LMAX use Java and design the architecture to avoid GC at all cost?
Why did the team at LMAX design the LMAX Disruptor in Java but all their design points to minimizing GC use? If one does not want to have GC run then why use a garbage collected language?
Their ...
4
votes
3answers
573 views
Quickest way to split a delimited String in Java
I am building a Comparator that provides multi-column sort capability on a delimited String.
I am currently using the split method from String class as my preferred choice for splitting the raw String ...
-3
votes
2answers
285 views
Why is Javascript faster than Jquery? [closed]
I was reading a thread and saw this post, which says that Javascript is faster than Jquery because it uses native code. But why is the use of native code faster? Is this always the case? What ...
2
votes
1answer
87 views
How to know, with good performance, which areas a certain point is in? [duplicate]
I'm interested in build a prototype that needs this sort of thing:
Point A (xa, ya) with a radius of 500 meters.
Point B (xb, yb) with a radius of 700 meters.
Point C (xc, yc) with a radius of 1200 ...