Top "Processing-efficiency" questions

What are the benefits to marking a field as `readonly` in C#?

What are the benefits of having a member variable declared as read only? Is it just protecting against someone changing …

c# readonly processing-efficiency memory-efficient
find pair of numbers in array that add to given sum

Question: Given an unsorted array of positive integers, is it possible to find a pair of integers from that array …

arrays performance algorithm processing-efficiency
The most reliable and efficient udp packet size?

Would sending lots a small packets by UDP take more resources (cpu, compression by zlib, etc...). I read here that …

udp processing-efficiency packet-loss
Technique to remove common words(and their plural versions) from a string

I am attempting to find tags(keywords) for a recipe by parsing a long string of text. The text contains …

python parsing processing-efficiency
Why does concatenation of DataFrames get exponentially slower?

I have a function which processes a DataFrame, largely to process data into buckets create a binary matrix of features …

python performance pandas concatenation processing-efficiency
Why is (a*b != 0) faster than (a != 0 && b != 0) in Java?

I'm writing some code in Java where, at some point, the flow of the program is determined by whether two …

java performance processing-efficiency microbenchmark branch-prediction
Performance of LIKE queries on multmillion row tables, MySQL

From anybody with real experience, how do LIKE queries perform in MySQL on multi-million row tables, in terms of speed …

mysql database performance processing-efficiency
SQL Wildcard Search - Efficiency?

There has been a debate at work recently at the most efficient way to search a MS SQL database using …

sql sql-server sql-server-2008 query-optimization processing-efficiency
How do I find out what parts of my code are inefficient in Python

On a previous question I was asking about multiprocessing, using multiple cores to make a program run faster, and someone …

python performance python-3.x profiling processing-efficiency
Database efficiency - table per user vs. table of users

For a website having users. Each user having the ability to create any amount of, we'll call it "posts": Efficiency-wise …

sql database processing-efficiency