Re: Differential Directory, indexing method Programming Software Development by noahevans … reminds me of how we optimize systems for speed and memory, much like how some tech repair services streamline diagnostics. At… Re: Data storage and retrieval - cache or database Programming Mobile Development by jonathannweyer If the "status" doesn't change frequently, caching is a solid option. You could fetch it from the database the first time it's needed, then store it in a cache (like in-memory or Redis, depending on your setup), and use that for subsequent loads. Re: Differential Directory, indexing method Programming Software Development by xrjf I've just made an update because some records weren't being added properly. The issue was that the form didn't take into account that the register field (in the call to DiDi) is passed by reference. Segmentation Fault in C++ Program – Need Debugging Programming Software Development by YashSmith …-of-bounds index return 0; } How can I prevent this memory access issue? Optimizing working with big data Programming Software Development by Dani What are some best practices for optimizing memory management when working with large datasets? I am tagging this … Differential Directory, indexing method Programming Software Development by xrjf … most one single disk read, assuming the index is in memory, it determines whether the key exists or not. * The index… Re: Buggy career talk :-P Programming by Salem … had the then awesome new feature of out of order memory operations. So very rarely, a write-read in the algorithm… it was the only thing on the bus as the memory logic in the processor would have sorted it out. But… Re: Segmentation Fault in C++ Program – Need Debugging Programming Software Development by Reverend Jim Don't try to access past the end of the array. Re: Segmentation Fault in C++ Program – Need Debugging Programming Software Development by rproffitt Thanks for the MVE (minimum viable example). But it's just bad code. c, c++ and a lot of language won't stop you from going out of bounds. Re: Segmentation Fault in C++ Program – Need Debugging Programming Software Development by Dani You’re creating an array of 5 integers and then trying to access the 11th integer in the array (assuming the indexes start at 0). You’re getting an out of bounds error because you’re trying to access an array element that doesn’t exist. You can access arr[0] up through arr[4]. Re: Segmentation Fault in C++ Program – Need Debugging Programming Software Development by Salem It should be obvious by now from their posting history that the OP is a troll. Re: Optimizing working with big data Programming Software Development by Salem My first thoughts would be 1. What is large? Are we in the TB range or mere handfuls of GB? 2. How often do you need to do this? Is it once a day, once a month, or just once. Re: Optimizing working with big data Programming Software Development by Dani > What is large? Are we in the TB range or mere handfuls of GB? For the sake of argument, let's use my use case and say dozens of gigs and millions of rows. > How often do you need to do this? Is it once a day, once a month, or just once. For me, the most important is real-time read and write performance to tables with millions of … Re: Differential Directory, indexing method Programming Software Development by rproffitt DiDi appears to be some China based UBER service but then again I can't find a question or much else to discuss here. Re: Differential Directory, indexing method Programming Software Development by xrjf About DiDi DiDi (Differential Directory) was originally developed as part of my thesis project in the early 1990s. The name bears no relation to the more recent Chinese ride-sharing company. At the time, DiDi was a novel approach within its academic context, but a change in legislation unfortunately led to the closure of the school and the … Re: Differential Directory, indexing method Programming Software Development by xrjf For example, as Donald Knuth points out in The Art of Computer Programming, the theoretical lower bound for comparison-based sorting algorithms is K × log₂(N). I developed a very simple method that matches this performance. However, DiDi goes far beyond: its performance is proportional to K × (maximum key length), regardless of the number of … Re: Differential Directory, indexing method Programming Software Development by xrjf As an illustration, consider the theoretical lower bound for comparison-based sorting, as stated by Donald Knuth in The Art of Computer Programming: K × log₂(N). I developed a simple method that matches this limit. For example, to sort the list {2, 5, 7, 1, 4, 3, 8, 6}: Sort pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (6, 8) → [4] Merge… Re: Differential Directory, indexing method Programming Software Development by xrjf "Just to clarify a previous mistake: the efficiency should be K × N × log₂(N), not K × log₂(N) as I initially wrote." DeepSeek R1 vs Llama 3.1-405b for Text Classification and Summarization Programming Computer Science by usmanmalik57 … could not run that either since it requires very high memory. Finally, I found a solution via the [FireworksAI](https://fireworks… Re: Why my iPhone runs so slow recently? Hardware and Software macOS by Dani I think you're referring to physical memory (hard drive space) and not random access memory (RAM). Using up all your hdd space can make your phone go slower. RAM is transient and is just the memory the apps you currently have open at the time are using. The amount of RAM you use goes down when you close out of apps or restart your phone. Re: How to Efficiently Develop Apps for iOS and Android? Programming Software Development by Reverend Jim … a particular occasion. Plus, every app stays open consuming limited memory. And then there are the constant reminders to update. And… Re: How old is your computer? Hardware and Software by SCBWV MANY years ago I had a Dell Precision Workstation with two CPU sockets and (I believe) the Xeon processor, and error correcting memory. I had a SCSI hard drive, which was very fast for the time. Love the machine, but not close to what is available today performance-wise. Re: Selling the house that I grew up Community Center Geeks' Lounge by melodyce I left my old place because of house demolition. In my memory, it was sometimes clean and beautiful, and sometimes dilapidated. After that, I felt like a guest wherever I lived. Re: Show computer name on a label Programming Software Development by Salem … number of tabs open, and you just ran out of memory. Memory Usage Goes Up Gradually (Memory Leak) Hardware and Software Microsoft Windows by raya2 …me : 0- using some optimizing and freeing softwares like (Memory Booster Gold - RAM Saver Pro - CleanMem) 1- … and installing the following hotfixes that are related to memory leak : [url]http://support.microsoft.com/kb/976658… using memtest86+ for finding any possible error in memory And here is screenshot from Process Explore (from… Memory Loss?Tom Coyote Tweak Hardware and Software Microsoft Windows by caperjack Memory Loss? Not always a problem Have you ever wondered why … Memory Size Community Center Geeks' Lounge by Lardmeister Memory is getting smaller all the time, 64 gigabytes is about a square inch of silicon now! Is it also getting shorter? Are hard-drives doomed? Re: memory bank Hardware and Software Hardware by caperjack … motherboard that holds the stick of memory know as ram ,usually at least 2 memory banks on a motherboard ,and usually…have 2 and 3 ,and ram stands for random access memory.have a look here .when searching put motherboard in …the search with memory bank. [url]http://www.pcguide.com/ref/ram/pack_Banks.htm… Re: Memory Mapped FIles? Programming Software Development by rubberman … physical on-disc file as though you were writing to memory. Ie, the file is "mapped" to a… memory location. Let's say you want to change the data … just treat the file as a chunk of program data memory. Re: Memory violation - resulting in blue screen of death Hardware and Software Microsoft Windows by gerbil … a process you have running tries to dive into protected memory where the kernel is working. Instant BSOD because the OS…