Jump to content
Sign in to follow this  
sphyrth

Optimization is Not Important Right Now?

Recommended Posts

I tried to find this person's comment, but to no avail. But what IS the devs' current stance on Optimization?

 


fffffffsdfsdf.png.d76c2373ddb3994a3331c73293a98ca5.png

Edited by sphyrth
Title Typo

Share this post


Link to post
Share on other sites

You start doing optimisation when all of the planed features are working correctly until then all code just grows in complexity.But once we do start it will not be a fast process either as whole sections of code may need refactoring to make them completely thread safe (use all cpu cores available} then we might discover we have algorithm validity issues:balrog: like the pathfinder.

Enjoy the Choice :)  

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

By not fixing design bottlenecks quickly, you get screwed in the end. And fixing them becomes impossible instead of just hard. (Intels report claimed using js was the major bottleneck, well, I like to see someone attempt a major rewrite.)

NTFS comes to mind. And I am not saying that because l use ext4 or zfs or something else. Checking out version controlled repos are terrible on Windows. Especially when there are a lot of commits.

Edited by smiley
  • Like 2
  • Sad 1

Share this post


Link to post
Share on other sites
On 10/30/2019 at 11:22 AM, Lion.Kanzen said:

there are optimization at  this A24 25% more i guess.

This one is probably slower. Cool art with not so impactful code changes. The pathfinder rewrites could be slower or negligible. Those were not meant for performance apparently. (Since its now supposed to handle more edge cases, its probably the former)

A dev feel free to correct me on that. (Not sure how many of them look this place)

Edited by smiley
  • Like 1

Share this post


Link to post
Share on other sites

Every movement or proposed movement requires a pathfinder call that means every unit on a map is recalculated that by definition is a bottleneck and the reason we currently recommend low pop caps(fewer units on the map).

Enjoy the Choice :)  

Share this post


Link to post
Share on other sites

Devs do optimize the code

https://code.wildfiregames.com/D2378

https://code.wildfiregames.com/D2386

https://code.wildfiregames.com/D2390

https://code.wildfiregames.com/D2391

and fix memory leaks (and other things)

https://code.wildfiregames.com/rP23067

https://code.wildfiregames.com/D2331

so they obliviously do think optimising is important and they do what they can to improve the experience for the player.

 

There have been discussions about moving to higher versions of OpenGL, it would allow them to use new features and possibilities how to improve graphics, but it would also mean to drop support for older computers and based on statistics the team did not want to cut off the game from that number of players. 

 

About pathfinder, they are have been improving it in a24 and simultaneously they have been changing code to be easier to apply multi-threading for that computations, which are mostly causes of lags.

 

Any questions? 

Edited by Angen
typos
  • Like 4
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...