Skip to content

Speed up iterating creatures #5

Open

Description

@syberant

Due to the fact that since 5d3e763 there is a population explosion once they figure it out and start evolving, speed started to drop dramatically.

To research what takes the most time I should benchmark most or all functions taking place in an iteration. From there, optimisations should be put in place.

Activity

  1. added
    performance
    on Aug 30, 2018
  2. added a commit that references this issue on Sep 3, 2018
  3. syberant commented on Mar 17, 2019

    @syberant
    OwnerAuthor

    Researching is now done with a profiler, exp, sin and cos seem to be some very expensive functions which need to be used fewer/more intelligently. Random number generation is also very inefficient right now and could be much improved upon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions