News for hackers. Stuff that matters.
Re:Age of Empires Definitive Edition's pathing and movement by kbwt on Thursday March 01, 2018 @05:17AM (#16490904)
>DE's pathing system's findPath() function was speeded up by approx 3-4x faster vs. Age1's

How would that make any impact at all given that the game ran just fine on 1997 hardware?

Re:Age of Empires Definitive Edition's pathing and movement by i2om3r on Thursday March 01, 2018 @05:50AM (#16491021)
In addition to the higher unit count there are a few bullet points in the article that indicate where saved/additional time is spent. From the sound of it, most importantly: "The DE pather was modified to have a much higher max iteration count than Age1's, so longer and more complex routes can be found."
Re:Age of Empires Definitive Edition's pathing and movement by Narishma on Thursday March 01, 2018 @07:09AM (#16491350)
In addition to the other replies, depending on how the game is written, it can also help with battery life if the speedup allows the CPU to go to sleep (or lower it's frequency) more often.
Re:Age of Empires Definitive Edition's pathing and movement by Quenty on Thursday March 01, 2018 @10:43AM (#16492818)
They also increased the iteration time to search for more complex paths, so I’m sure this helps with that.
Re:Age of Empires Definitive Edition's pathing and movement by simonpantzare on Thursday March 01, 2018 @05:28AM (#16490948)
IIRC the max unit cap is much higher.
Re:Age of Empires Definitive Edition's pathing and movement by numerlo on Thursday March 01, 2018 @08:14AM (#16491637)
The fact that you don't need to optimize something doesn't mean you shouldn't.
Re:Age of Empires Definitive Edition's pathing and movement by softawre on Thursday March 01, 2018 @10:15AM (#16492613)
It does, actually. At least don't do it on my dime. Obviously learning is another ballgame.
Re:Age of Empires Definitive Edition's pathing and movement by khedoros1 on Thursday March 01, 2018 @05:01PM (#16496796)
At the least, it implies that you ought to carefully consider whether you should. Optimized code often makes trade-offs in complexity, flexibility, etc, not to mention the extra cost in development time.

With those costs, there should be a compelling benefit that you get out of it. Otherwise, it's not worthwhile.

Re:Age of Empires Definitive Edition's pathing and movement by Invisig0th on Thursday March 01, 2018 @11:16AM (#16493196)
Avoiding premature optimization is one of the most important best practices of modern software development.
Re:Age of Empires Definitive Edition's pathing and movement by qu4z-2 on Thursday March 01, 2018 @03:59PM (#16496286)
This isn't premature... the algorithm and performance are understood. That said, I agree that it's not always the best use of time.