Skip to content

Cache locality #1

Open
Open
@WinstonHartnett

Description

Using boxed arrays leads to fragmented addresses, reducing cache performance.

I could:

  • Ignore the problem until it really hurts
  • Implement some kind of jank compaction scheme (probably using compact)
  • Force almost everything to be Unboxed or Storable
  • Use a serialization library? How bad could serializing/deserializing be?

Question: how do other ECSes in GCed languages deal with boxing?

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions