Since optimization may occur at various stages (analysis, design, implementation, compiler, runtime, etc.) during the development of a program, and according to the FAQ, the following types of questions are certainly valid: What is/is it considered optimization, with a detailed question about what ...
0
votes
1answer
18 views
File Processing Times
I have a very simple program in Ruby that opens a dictionary file, sorted-words.txt and prints out all the words in pig-latin. I tested its speed, and the first time I ran it, the program finished in ...
0
votes
4answers
337 views
what is best book to learn optimized programming in java [closed]
Possible Duplicate:
Is there a canonical book for learning Java as an experienced developer?
Let me elaborate a little:
I used to be a C/C++ programmer where I used data structure ...
4
votes
4answers
278 views
Efficient methods for storing tens of millions of objects for querying, with a high number of inserts per second?
This is basically a logging/counting application that is counting the number of packets and counting the type of packet, etc. on a p2p chat network. This equates to about 4-6 million packets in a 5 ...
9
votes
5answers
819 views
It takes me hours to completely understand solutions to 1000-pt problems on TopCoder. Should I get discouraged?
Sometimes this applies to the 500-pt ones too. I sometimes start feeling I will never improve enough to code them with ease like the others. Should I just quit? If not, why? It is extremely annoying, ...
3
votes
1answer
128 views
Is there a module for writing low level code on Python?
Can you manipulate bits and memory directly using Python? If yes, wouldn't that be a best option to dealing with performance-critical spots than C bindings?
6
votes
4answers
370 views
Optimization as a branch: is that a thing?
My company has highly optimized scientific application which has become so big and complicated that new versions are literally taking t = infinity to produce. (E.G. I have an email which ...
5
votes
7answers
270 views
How can I organize fast and comfortable solution compilation in VS 2010?
Most of programmers who are involved into development of more or less large project(s) know how annoying the process of compilation can be. There are some other things which are dependent on ...
3
votes
4answers
185 views
What factors should I consider when choosing names for identifiers?
What factors do I need to consider when choosing names for identifiers such as variables? I am concerned about space issues, i.e. extra memory consumption when choosing longer names.
As an example, ...
9
votes
4answers
392 views
Approaches against code base becoming uniformly slow
We are working on a moderately-sized C++ code base (10Mloc) which through our optimization efforts is becoming uniformly slow.
This code base is a set of libraries which we combine to put them to ...
7
votes
4answers
240 views
Is there a general method to evaluate the optimality of an optimization algorithm?
is there a general method to evaluate the optimality of an optimization algorithm, for example an algorithm solving an otherwise NP-hard or NP-complete problem?
The only method I came up so far is ...
4
votes
4answers
685 views
Why is C++ known as 'premature optimizaton'?
"Programming in C++ is premature optimization"
Why does everyone do some people say this?
1
vote
3answers
154 views
Is it possible to embed multiple programs into 1
To be more specific, let me explain my end result goal or more of what I would LIKE to have someday and then you can tell me if its even feasible and if not possibly an alternative method.
I really ...
3
votes
4answers
328 views
How can I learn about optimising for the CPU cache (in C)?
Reading these two questions, I see that understanding CPU caching behaviour can be important when dealing with large amounts of data in memory. I would like to understand the way the caching works to ...
0
votes
1answer
64 views
Branding websites aimed for mobile devices
I'm currently working on a website which is also supposed to be mobile optimized.
My client has provided me with a layout of how the mobile version of how the website should look like. Making their ...
7
votes
4answers
381 views
How to document and teach others “optimized beyond recognition” computationally intensive code?
Occasionally there is the 1% of code that is computationally intensive enough that needs the heaviest kind of low-level optimization. Examples are video processing, image processing, and all kinds of ...