The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
37 views

Dedupe while or after write

I have a summary tool written in python that reads input files, and writes them into a summary file. I have the following stipulations: No duplicates. If it exists, add a count to it. Is it ...
-1
votes
0answers
58 views

How to test JavaScript execution time? [closed]

My next project requires high execution speed for JavaScript; I need a way to test how fast the code executes and compare the results to the speed of other ways to do the same thing. If the execution ...
0
votes
1answer
31 views

How can I approach creating an efficient algorithm for maximizing value with these specific constraints?

I'm having trouble coming up with an approach that isn't n^2 for this problem. Here's a contrived, simplified version I've come up with: Let's say you're a company that needs 4 employees to launch in ...
0
votes
1answer
86 views

How to convey your approach is faster than the built-in, alternative approaches? [closed]

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 ...
2
votes
4answers
168 views

Does boostrapping limit the achievable speed of the new compiler?

I have a good grasp on how the C compiler was boostrapped from itself and how that must have been very efficient, since the first pre-bootstrapping version was written in assembler, which is as low ...
1
vote
1answer
235 views

Writing my own blog engine using PHP/JavaScript - am I doing it 'right'?

First, apologies in advance if this is in the wrong place - I wasn't sure if it should be here or in Code Review, but as I'm not actually asking for anyone to review my code . . . Here's my project: ...
2
votes
3answers
419 views

Optimal way to implement this specific lookup table in C#?

I want to create a lookup table for this data: The "input variables" (what is used to "lookup") are 4 different doubles that can each take on 1 of 200 numbers (the numbers range from 1-1000 but there ...
0
votes
0answers
57 views

Keeping up to date with the speed of technology [duplicate]

I am going through 2 ebooks on ASP.NET MVC and SignalR . SignalR: Real-time Application Development Released in 2013 Introducing ASP.NET MVC 4 Fourth Edition Released in 2012 As i have been going ...
-1
votes
1answer
304 views

Increase speed of a VB.net Application to SQL server 2008 and Hamachi VPN [closed]

Our current Information System (complete with path for pictures for records stored in db) has the following specifications: A desktop application was developed in vb.net We use SQL server 2008 r2 as ...
2
votes
3answers
401 views

Best way to choose random element from weighted list

I want to create a simple game. Every so often, a power up should appear. Right now the different kinds of power ups are stored in an array. However, not every power up should appear equally often: ...
1
vote
3answers
332 views

Add javascript to all pages (for caching), or only to the pages that require the scripts (for a smaller page size)?

I'm using bits of javascript on my website for an image gallery, smooth scrolling, etc. These scripts are not used on every page (not every page has an image gallery for example). However, the scripts ...
3
votes
1answer
170 views

Processing every leaf under a node in a tree efficiently

Short version: In a tree (non-binary) with many levels of children, where each node can have multiple leaves, what is the best way to tally leaves that meet a certain condition given a node? Long, ...
18
votes
2answers
1k views

SQL IN() versus OR

I was working with a query I wrote today had to change the code from the WHERE clause to use a IN(list of stuff) filter instead of using something like item_desc = 'item 1' OR item_desc = 'item 2' OR ...
6
votes
1answer
210 views

Hardware that accelerates pointer dereferencing?

Most modern languages make a heavy use of pointers / references: a typical OOP language uses VMT lookups, a typical functional language builds key data structures out of pointers, etc. Even typical C ...
0
votes
5answers
174 views

Question regarding Readability vs Processing Time

I am creating a flowchart for a program with multiple sequential steps. Every step should be performed if the previous step is succesful. I use a c-based programming language so the lay-out would be ...
6
votes
1answer
402 views

Object oriented vs vector based programming

I am torn between object oriented and vector based design. I love the abilities, structure and safety that objects give to the whole architecture. But at the same time, speed is very important to me, ...
1
vote
3answers
71 views

Assuring Quality and Bug Fix speed in Open Source Python Project

I'm maintaining an open source framework (in Python on *nix platforms if that matters) for the first time in my life. It is pretty much pre-alpha, not much more then a scientific proof of concept, ...
1
vote
1answer
226 views

Which one is the fastest Message Broker in case of a single machine? [closed]

I would like to know, which Message Broker I should choose in case of communication among apps within a single PC, considering speed. Among Apache ActiveMQ , MSMQ , RabbitMQ , OpenAMQ which one is ...
1
vote
1answer
454 views

Using assembly to write to a file

I am working with a trading application (reading data from the exchange) which generates a bucket load of data on a per second basis. We have different "log-levels" but even the minimal log-level ...
4
votes
3answers
625 views

Is it conceivable to have millions of lists of data in memory in Python?

I have over the last 30 days been developing a Python application that utilizes a MySQL database of information (specifically about Norwegian addresses) to perform address validation and correction. ...
4
votes
1answer
270 views

How does having assets saved on a secondary domain(s) reduce the load time of the website?

I went for an interview yesterday where I was asked this question: "How does having assets (images/videos) stored on a secondary domain (assets.example.com) reduce the load time of example.com?" ...
-5
votes
5answers
1k views

Is having two conditions in an IF statement faster than having two separate IF statements?

I just wonder if having two conditions in an IF statement executes faster than having it separated into two like these: Single Statement, two conditions if ( (conditionA == true) && ...
3
votes
2answers
405 views

How is the speed of a page affected? [closed]

I am trying to develop a single-page web application. I was wondering how big the disadvantages of using jQuery are. I have been told that it makes the application slower, but, as I have seen here, ...
2
votes
1answer
88 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 ...
8
votes
6answers
5k views

PHP and performance

I always hear that PHP is for medium and small websites whereas .NET and Java for enterprise applications. My question is about PHP. Why is PHP not a good option for enterprise web applications? Is it ...
3
votes
5answers
294 views

How can a developer evaluate the effectiveness of his workflow?

This question has been on my mind for probably 10 years. Ever since I've started programming for a living. And I've seen multiple discussions about good fit, distractions, being in the zone, etc. But ...
15
votes
5answers
2k views

Resources on Writing Efficient C Code for Micro-controllers?

Serious help needed here. I love programming. I've been reading bunch of books(such as K&R) and articles/forums online for C language lately. Even tried looking into Linux code(although, i was ...
0
votes
5answers
831 views

Should speed reading be applied while reading Tech Books [duplicate]

Possible Duplicate: How do people read big technical books? It's a known fact that, Science and Tech readings requires most attention, to at least make sense of what one reads. In the age ...
1
vote
5answers
3k views

Is Bubble Sort the slowest sorting algorithm? [closed]

Is Bubble Sort the slowest sorting algorithm? If the answer is no, then what is the slowest one?