(08-06-2025, 03:47 PM)wasgehtdichdasan Wrote: Will it be possible to enable 3-leg only for certain connections like: no working 2leg connection or no 2leg connection with lessen then X-hours transferring or bad quality rating?
To be honest, I'm no where near that point. I got the initial code working for feasibility study 2 years ago. At first, it wasn't feasible to do the data grid system how I wanted to. (Required too much ram). I got it working, wrote the second leg code, and it required too much processing. That's where I am as far as passenger routing. There is a whole lot of optimizations and tweaks that can be done. I reverted back to 1 leg so I could work on the rest of the game, as there is no point in spending a whole lot of time doing optimizations on passenger routing when you can't do things like starting a company, buying aircraft, or making routes (as a player).
There should be an AeroMogul update on this subject. Look toward one of the first few.
Each leg increases the processing or ram requirements exponentially. I don't think splitting some routes between 2-leg and 3-leg would improve it. Instead, I will look toward improving cache (both CPU and game cache), flattening arrays for automatic SIMD optimizations, etc.
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski