Top "Memory-efficient" questions

Use this tag for questions related to memory efficient code/applications/etc.

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
Is there a way to paste together the elements of a vector in R without using a loop?

Say there's a vector x: x <- c("a", " ", "b") and I want to quickly turn this into a …

r paste memory-efficient
MergeSort, QuickSort or HeapSort?

What are are the relative advantages of the three in terms of the number of comparisons performed and the amount …

performance sorting memory-efficient
Building an EFFICIENT Sudoku Solver

Yes, I know this is nothing new and there are many questions already out there (it even has its own …

java sudoku memory-efficient
Most memory-efficient way to compute abs()**2 of complex numpy ndarray

I'm looking for the most memory-efficient way to compute the absolute squared value of a complex numpy ndarray arr = np.…

python numpy complex-numbers memory-efficient numpy-ufunc
The most efficient way to delete millions of files based on modified date, in windows

Goal: Use a script to run through 5 million - 10 million XML files and evaluate their date, if older than 90 days …

powershell datetime delete-file memory-efficient
Fastest way to get the first and last element of a python iterator

I'm trying to perform checks on the first and last elements of an interator. It has several thousand entries, so …

python iterator memory-efficient
How do you design FIFO queue with variable data size?

I'm just working on the FIFO queue (the simple one, just what's pushed first, pops at first) with the variable …

delphi queue delphi-2007 fifo memory-efficient