Skip to content

Conversation

@jplatte
Copy link
Member

@jplatte jplatte commented Jan 2, 2026

By using impossible pointer values of AStr as the representation of the 'Regular' and 'Directory' kinds.

@jplatte

This comment has been minimized.

By using impossible pointer values of AStr as the representation of the
'Regular' and 'Directory' kinds.
@jplatte jplatte force-pushed the jplatte/union-tree-kind branch from a55402e to 50e9d98 Compare January 3, 2026 10:36
@jplatte
Copy link
Member Author

jplatte commented Jan 3, 2026

Now rebased on #655.

moss state build-vfs before:

calls to allocation functions: 2.053.987
peak heap memory consumption: 55,8MB

Benchmark 1: moss -D /mnt/aerynos state build-vfs
  Time (mean ± σ):     360.5 ms ±   2.8 ms    [User: 336.1 ms, System: 24.3 ms]
  Range (min … max):   356.1 ms … 370.6 ms    40 runs

moss state build-vfs after:

calls to allocation functions: 2.053.987
peak heap memory consumption: 52,3MB

Benchmark 1: moss -D /mnt/aerynos state build-vfs
  Time (mean ± σ):     356.5 ms ±   3.9 ms    [User: 333.3 ms, System: 23.1 ms]
  Range (min … max):   350.7 ms … 371.5 ms    40 runs

@jplatte jplatte marked this pull request as ready for review January 3, 2026 11:51
@jplatte
Copy link
Member Author

jplatte commented Jan 3, 2026

Not doing this for now.

@jplatte jplatte marked this pull request as draft January 3, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants