102,747 questions
0
votes
0
answers
41
views
Why is this type-bound procedure causing a slow-down?
I am working on some simulation code in Fortran. Part of that are potential cells that induce velocity.
Here is the definition for the cell type:
type CELL
doubleprecision :: xmin,ymin,...
1
vote
1
answer
36
views
OpenXLSX access of cell values is too slow
I was looking for a way to read, manipulate and save xlsx files.
Since I have Microsoft Excel installed, a convenient way was to use VB scripts which convert xlsx to csv, process the data with C++ and ...
8
votes
4
answers
228
views
How to avoid unnecessary evaluations in LINQ queries using OrderBy followed by multiple ThenBy clauses
Here is a simplified example:
using System;
using System.Linq;
class Program
{
static void Main()
{
var data = new[]
{
new { Name = "Alice", Age = 30 },
...
1
vote
2
answers
68
views
React Native iOS screens stop rendering after navigation (works fine on Android)
I’ve built a small Amazon Price Tracker app in React Native. The app is fairly lightweight and not CPU-intensive:
Uses React Navigation
Screens:
Home Screen → lists tracked products
Item Edit ...
-1
votes
0
answers
48
views
iOS-only rendering failure in React Native – components stop rendering over time (react-native-gifted-charts) [closed]
I’m seeing a progressive rendering failure on iOS in a React Native app that does not reproduce on Android.
Symptoms
Certain screens stop rendering completely after multiple navigations
react-native-...
1
vote
1
answer
157
views
Why is try/catch within nested for loops substantially slowing down execution time? [duplicate]
I'm working on a tool to segment features from a grey scale image and as part of this I want to perform a gaussian blur. This is basically a way of learning more about C# and the underling image ...
0
votes
1
answer
60
views
Time complexity analysis for a leetcode question
While solving a question in LeetCode (Longest common prefix), I used the startsWith and slice operation of JavaScript both of which are o(N) operations. But LeetCode claims the solution I submitted is ...
2
votes
0
answers
76
views
Why does changing the FPS limit affect Graphics2D rendering performance?
I'm working with an AWT Canvas with a triple buffered BufferStrategy. The application runs a loop that renders the screen with a set maximum FPS. Specifically I'm drawing multiple characters on screen ...
0
votes
0
answers
46
views
(R)spec booting up very slow, takes a significant time to load files
I've reinstalled my Ubuntu desktop environment and went from 22 LTS to 24 LTS. By reinstalling I mean: I wiped out the data and repartitioned the hard drive (and I used the same one for Ubuntu). As ...
1
vote
1
answer
55
views
Timefold solver significantly faster on Apple M1 vs Linux ARM Neoverse-N1 – expected behavior?
The following will sound very much a beginner's question. In terms of hardware i am trully a beginner..
I am running the same Timefold solver (single-threaded) on two ARM machines and am seeing a ...
0
votes
2
answers
51
views
Selenium opening browser very slowly on Mac
Even with this simple code, Selenium takes about 5-10 seconds to open the browser. I used another machine (window) to run the same code and it takes less than 1 second to open it.
I've tried changing ...
Advice
1
vote
9
replies
60
views
What is the real difference between a junior and senior developer?
We have been told that the difference between a junior/mid developer and a senior is the ability to solve the hardest problems like security concerns, performance issues or architectural questions. ...
Advice
2
votes
9
replies
65
views
register dependencies versus out of order execution
I updated this question to better explain the actual code linked to below, while trying to minimize the complication.
Consider the X86 zmm register based sequence loop below. m[] is an array of n ...
0
votes
0
answers
38
views
Why does Milvus insertion throughput drop when using Woodpecker MQ with local storage in standalone mode?
Why does Milvus insertion throughput drop significantly when using Woodpecker MQ with local storage in standalone mode?
I’m running Milvus standalone (v2.6.1) and configured Woodpecker as the message ...
6
votes
1
answer
67
views
How to use useMemo with dynamic per-record paths in TypeScript React dropdown?
I'm working on a React table where each row has a dropdown with actions (Edit, Delete).
I want to optimize performance using useMemo, but I'm stuck because each row needs a
different path based on the ...