Skip to content

Avoid per-node empty attribute dictionaries - #114

Merged
VEZY merged 1 commit into
masterfrom
codex/lazy-empty-attributes
Nov 20, 2026
Merged

VEZY merged 1 commit into
masterfrom
codex/lazy-empty-attributes

Conversation

@VEZY

@VEZY VEZY commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Creating an attribute-free node allocated an empty staging dictionary for every node, even after its attributes were bound to the shared columnar store. Keep the staging dictionary absent until the first unbound write, and insert empty nodes directly into the store. Attribute reads, writes, columnarization and subtree moves retain the same behavior.

Validation: the complete test suite passes on Julia 1.13.3 (6,819 assertions). A small matched, warmed experiment against 80a95a6 created 10,000 child nodes per sample, with five samples per case and no compilation during measurement:

Constructor case Before After Allocations saved
Default empty attributes 3.669 MiB 2.906 MiB 20.8%
Explicit empty attributes 3.670 MiB 2.906 MiB 20.8%
Empty attributes, then write 3.734 MiB 2.970 MiB 20.5%

Median construction times were 0.575 → 0.471 ms, 0.542 → 0.481 ms and 0.661 → 0.660 ms, respectively. This is a narrow node-construction experiment; it does not measure a complete PSE or XPalm simulation.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results (Julia v1)

Time benchmarks
master 0392344... master / 0392344...
mstg_linux/a1_row_mutation_topology/automatic_id/dense/1024 0.339 ± 0.026 ms 0.307 ± 0.0091 ms 1.1 ± 0.091
mstg_linux/a1_row_mutation_topology/automatic_id/dense/256 0.0899 ± 0.023 ms 0.0779 ± 0.002 ms 1.15 ± 0.29
mstg_linux/a1_row_mutation_topology/automatic_id/dense/32 13.5 ± 1.9 μs 11.5 ± 0.81 μs 1.17 ± 0.19
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/1024 0.34 ± 0.037 ms 0.289 ± 0.013 ms 1.18 ± 0.14
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/256 0.0921 ± 0.0071 ms 0.0777 ± 0.0093 ms 1.18 ± 0.17
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/32 16.4 ± 1.3 μs 11 ± 1.1 μs 1.49 ± 0.19
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/1024 0.239 ± 0.049 ms 0.22 ± 0.014 ms 1.08 ± 0.23
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/256 0.0676 ± 0.012 ms 0.062 ± 0.012 ms 1.09 ± 0.28
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/32 13.3 ± 2.4 μs 8.41 ± 1.5 μs 1.58 ± 0.4
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/1024 0.736 ± 0.15 μs 0.506 ± 0.24 μs 1.46 ± 0.76
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/256 0.926 ± 0.18 μs 0.486 ± 0.21 μs 1.91 ± 0.9
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/32 0.31 ± 0.05 μs 0.286 ± 0.013 μs 1.09 ± 0.18
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/1024 0.469 ± 0.0074 ms 0.436 ± 0.011 ms 1.08 ± 0.032
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/256 0.411 ± 0.014 ms 0.389 ± 0.0068 ms 1.06 ± 0.04
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/32 0.382 ± 0.017 ms 0.36 ± 0.0053 ms 1.06 ± 0.05
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/1024 0.166 ± 0.0078 ms 0.16 ± 0.0053 ms 1.03 ± 0.059
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/256 0.288 ± 0.23 ms 0.13 ± 0.0028 ms 2.22 ± 1.8
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/32 0.136 ± 0.0036 ms 0.125 ± 0.0024 ms 1.09 ± 0.035
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/1024 0.147 ± 0.0093 ms 0.143 ± 0.0076 ms 1.02 ± 0.085
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/256 0.135 ± 0.0039 ms 0.124 ± 0.003 ms 1.09 ± 0.041
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/32 0.128 ± 0.0044 ms 0.123 ± 0.0023 ms 1.04 ± 0.04
mstg_linux/a1_row_mutation_topology/write_mtg/dense/1024 0.557 ± 0.032 ms 0.843 ± 0.37 ms 0.661 ± 0.29
mstg_linux/a1_row_mutation_topology/write_mtg/dense/256 0.181 ± 0.025 ms 0.166 ± 0.018 ms 1.1 ± 0.19
mstg_linux/a1_row_mutation_topology/write_mtg/dense/32 0.0481 ± 0.005 ms 0.0538 ± 0.021 ms 0.894 ± 0.36
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/1024 0.31 ± 0.036 ms 0.678 ± 0.45 ms 0.457 ± 0.31
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/256 0.108 ± 0.024 ms 0.0947 ± 0.031 ms 1.14 ± 0.46
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/32 0.0375 ± 0.003 ms 0.0474 ± 0.032 ms 0.791 ± 0.53
mstg_linux/large/descendants_query/many_attr_mixed_ignore_nothing 0.0929 ± 0.022 s 0.0674 ± 0.022 s 1.38 ± 0.55
mstg_linux/large/descendants_query/many_attr_mixed_keep_nothing 0.104 ± 0.029 s 0.096 ± 0.018 s 1.08 ± 0.37
mstg_linux/large/descendants_query/many_attr_one_symbol 0.12 ± 0.016 s 0.11 ± 0.017 s 1.09 ± 0.22
mstg_linux/large/descendants_query/one_attr_mixed_ignore_nothing 12.9 ± 2 ms 11.4 ± 1.3 ms 1.13 ± 0.22
mstg_linux/large/descendants_query/one_attr_mixed_keep_nothing 13 ± 1.9 ms 12.2 ± 1.5 ms 1.07 ± 0.2
mstg_linux/large/descendants_query/one_attr_one_symbol 2.28 ± 0.044 ms 2.24 ± 0.097 ms 1.02 ± 0.048
mstg_linux/large/descendants_query/one_attr_one_symbol_inplace 2.31 ± 0.048 ms 2.18 ± 0.11 ms 1.06 ± 0.058
mstg_linux/large/many_queries/ancestors_repeated 27.3 ± 4.4 ms 26.1 ± 3.6 ms 1.05 ± 0.22
mstg_linux/large/many_queries/ancestors_repeated_inplace 4.77 ± 1.1 ms 4.72 ± 0.93 ms 1.01 ± 0.31
mstg_linux/large/many_queries/children_repeated 1.2 ± 0.028 ms 1.19 ± 0.052 ms 1.01 ± 0.049
mstg_linux/large/many_queries/descendants_repeated 0.293 ± 0.058 s 0.309 ± 0.1 s 0.946 ± 0.36
mstg_linux/large/many_queries/descendants_repeated_inplace 0.0687 ± 0.001 s 0.0703 ± 0.0017 s 0.977 ± 0.027
mstg_linux/large/many_queries/parent_repeated 3.56 ± 0.84 ms 3.55 ± 0.096 ms 1 ± 0.24
mstg_linux/large/traverse/full_tree_nodes 0.0375 ± 0.0016 s 0.0366 ± 0.00072 s 1.02 ± 0.049
mstg_linux/large/traverse_update/multi_attr_leaf_internode_explicit_api 0.194 ± 0.016 s 0.18 ± 0.023 s 1.08 ± 0.17
mstg_linux/large/traverse_update/multi_attr_leaf_internode_node_indexing 0.249 ± 0.021 s 0.236 ± 0.0072 s 1.06 ± 0.093
mstg_linux/large/traverse_update/multi_attr_leaf_only_explicit_api 0.105 ± 0.005 s 0.104 ± 0.0024 s 1.01 ± 0.054
mstg_linux/large/traverse_update/multi_attr_leaf_only_node_indexing 0.114 ± 0.0084 s 0.117 ± 0.0042 s 0.97 ± 0.079
mstg_linux/large/traverse_update/one_attr_all_nodes_explicit_api 0.137 ± 0.0083 s 0.14 ± 0.012 s 0.977 ± 0.1
mstg_linux/large/traverse_update/one_attr_all_nodes_node_indexing 0.203 ± 0.0087 s 0.182 ± 0.0085 s 1.12 ± 0.07
mstg_linux/medium/descendants_query/many_attr_mixed_ignore_nothing 19 ± 2.7 ms 17 ± 3.3 ms 1.12 ± 0.27
mstg_linux/medium/descendants_query/many_attr_mixed_keep_nothing 27.9 ± 4.2 ms 22.5 ± 3.4 ms 1.24 ± 0.27
mstg_linux/medium/descendants_query/many_attr_one_symbol 0.0361 ± 0.0035 s 30.8 ± 4.7 ms 1.17 ± 0.21
mstg_linux/medium/descendants_query/one_attr_mixed_ignore_nothing 3.44 ± 0.56 ms 3.28 ± 0.63 ms 1.05 ± 0.26
mstg_linux/medium/descendants_query/one_attr_mixed_keep_nothing 3.54 ± 0.59 ms 3.26 ± 0.62 ms 1.09 ± 0.28
mstg_linux/medium/descendants_query/one_attr_one_symbol 0.67 ± 0.025 ms 0.622 ± 0.024 ms 1.08 ± 0.058
mstg_linux/medium/descendants_query/one_attr_one_symbol_inplace 0.654 ± 0.025 ms 0.617 ± 0.022 ms 1.06 ± 0.056
mstg_linux/medium/many_queries/ancestors_repeated 26.5 ± 5.3 ms 22.8 ± 3 ms 1.16 ± 0.28
mstg_linux/medium/many_queries/ancestors_repeated_inplace 3.63 ± 0.77 ms 3.63 ± 0.6 ms 1 ± 0.27
mstg_linux/medium/many_queries/children_repeated 1.19 ± 0.029 ms 1.18 ± 0.054 ms 1.01 ± 0.052
mstg_linux/medium/many_queries/descendants_repeated 0.0758 ± 0.021 s 0.0768 ± 0.026 s 0.986 ± 0.43
mstg_linux/medium/many_queries/descendants_repeated_inplace 20.7 ± 0.44 ms 20.3 ± 0.45 ms 1.02 ± 0.031
mstg_linux/medium/many_queries/parent_repeated 3.61 ± 0.81 ms 3.45 ± 0.25 ms 1.05 ± 0.25
mstg_linux/medium/traverse/full_tree_nodes 10.5 ± 3.3 ms 3.41 ± 2.3 ms 3.06 ± 2.3
mstg_linux/medium/traverse_update/multi_attr_leaf_internode_explicit_api 0.0516 ± 0.0066 s 0.044 ± 0.007 s 1.17 ± 0.24
mstg_linux/medium/traverse_update/multi_attr_leaf_internode_node_indexing 0.0594 ± 0.0059 s 0.0512 ± 0.004 s 1.16 ± 0.15
mstg_linux/medium/traverse_update/multi_attr_leaf_only_explicit_api 29.5 ± 2.3 ms 22.8 ± 5.5 ms 1.29 ± 0.33
mstg_linux/medium/traverse_update/multi_attr_leaf_only_node_indexing 0.0363 ± 0.0028 s 30.9 ± 3.9 ms 1.18 ± 0.17
mstg_linux/medium/traverse_update/one_attr_all_nodes_explicit_api 0.0425 ± 0.003 s 0.0378 ± 0.0014 s 1.13 ± 0.089
mstg_linux/medium/traverse_update/one_attr_all_nodes_node_indexing 0.0498 ± 0.0044 s 0.0409 ± 0.0091 s 1.22 ± 0.29
mstg_linux/small/api_surface_small_only/delete_node 2.31 ± 0.54 μs 1.99 ± 0.45 μs 1.16 ± 0.38
mstg_linux/small/api_surface_small_only/insert_child 5.13 ± 1.9 μs 4.74 ± 1.6 μs 1.08 ± 0.53
mstg_linux/small/api_surface_small_only/prune_subtree 2.93 ± 0.44 ms 2.79 ± 0.55 ms 1.05 ± 0.26
mstg_linux/small/api_surface_small_only/select 11.6 ± 2.4 μs 10.1 ± 2.6 μs 1.15 ± 0.38
mstg_linux/small/api_surface_small_only/tables_symbol 9.92 ± 0.48 μs 9.98 ± 2.4 μs 0.993 ± 0.25
mstg_linux/small/api_surface_small_only/tables_unified 0.227 ± 0.012 ms 0.218 ± 0.01 ms 1.05 ± 0.072
mstg_linux/small/api_surface_small_only/transform 3.43 ± 0.78 ms 2.06 ± 0.62 ms 1.66 ± 0.62
mstg_linux/small/api_surface_small_only/write_mtg 3.93 ± 0.66 ms 3.42 ± 0.74 ms 1.15 ± 0.31
mstg_linux/small/descendants_query/many_attr_mixed_ignore_nothing 1.44 ± 0.22 ms 1.39 ± 0.18 ms 1.04 ± 0.21
mstg_linux/small/descendants_query/many_attr_mixed_keep_nothing 2.09 ± 0.24 ms 1.91 ± 0.22 ms 1.09 ± 0.18
mstg_linux/small/descendants_query/many_attr_one_symbol 2.97 ± 0.38 ms 2.61 ± 0.3 ms 1.14 ± 0.2
mstg_linux/small/descendants_query/one_attr_mixed_ignore_nothing 0.272 ± 0.064 ms 0.271 ± 0.0091 ms 1.01 ± 0.24
mstg_linux/small/descendants_query/one_attr_mixed_keep_nothing 0.278 ± 0.068 ms 0.261 ± 0.013 ms 1.07 ± 0.27
mstg_linux/small/descendants_query/one_attr_one_symbol 19.6 ± 16 μs 19 ± 0.51 μs 1.03 ± 0.82
mstg_linux/small/descendants_query/one_attr_one_symbol_inplace 17.3 ± 0.44 μs 17.5 ± 0.64 μs 0.991 ± 0.044
mstg_linux/small/many_queries/ancestors_repeated 28.8 ± 4.7 ms 25.8 ± 4.9 ms 1.12 ± 0.28
mstg_linux/small/many_queries/ancestors_repeated_inplace 3.08 ± 0.6 ms 2.89 ± 0.14 ms 1.06 ± 0.21
mstg_linux/small/many_queries/children_repeated 1.21 ± 0.021 ms 1.17 ± 0.031 ms 1.03 ± 0.033
mstg_linux/small/many_queries/descendants_repeated 4.87 ± 1.5 ms 4.96 ± 0.57 ms 0.982 ± 0.32
mstg_linux/small/many_queries/descendants_repeated_inplace 0.61 ± 0.02 ms 0.588 ± 0.027 ms 1.04 ± 0.06
mstg_linux/small/many_queries/parent_repeated 3.61 ± 0.8 ms 3.5 ± 0.26 ms 1.03 ± 0.24
mstg_linux/small/traverse/full_tree_nodes 0.102 ± 0.0024 ms 0.1 ± 0.0027 ms 1.02 ± 0.036
mstg_linux/small/traverse_update/multi_attr_leaf_internode_explicit_api 0.854 ± 0.02 ms 0.791 ± 0.017 ms 1.08 ± 0.034
mstg_linux/small/traverse_update/multi_attr_leaf_internode_node_indexing 2.07 ± 0.7 ms 1.7 ± 0.17 ms 1.21 ± 0.43
mstg_linux/small/traverse_update/multi_attr_leaf_only_explicit_api 0.457 ± 0.015 ms 0.436 ± 0.015 ms 1.05 ± 0.049
mstg_linux/small/traverse_update/multi_attr_leaf_only_node_indexing 0.877 ± 0.099 ms 0.772 ± 0.039 ms 1.14 ± 0.14
mstg_linux/small/traverse_update/one_attr_all_nodes_explicit_api 0.586 ± 0.013 ms 0.573 ± 0.021 ms 1.02 ± 0.043
mstg_linux/small/traverse_update/one_attr_all_nodes_node_indexing 0.975 ± 0.16 ms 0.962 ± 0.036 ms 1.01 ± 0.17
time_to_load 0.697 ± 0.0029 s 0.674 ± 0.019 s 1.03 ± 0.029
Memory benchmarks
master 0392344... master / 0392344...
mstg_linux/a1_row_mutation_topology/automatic_id/dense/1024 6.33 k allocs: 0.499 MB 5.3 k allocs: 0.421 MB 1.19
mstg_linux/a1_row_mutation_topology/automatic_id/dense/256 1.69 k allocs: 0.131 MB 1.43 k allocs: 0.111 MB 1.18
mstg_linux/a1_row_mutation_topology/automatic_id/dense/32 0.315 k allocs: 20.4 kB 0.283 k allocs: 17.9 kB 1.14
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/1024 6.33 k allocs: 0.499 MB 5.3 k allocs: 0.421 MB 1.19
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/256 1.69 k allocs: 0.131 MB 1.43 k allocs: 0.111 MB 1.18
mstg_linux/a1_row_mutation_topology/explicit_cold/dense/32 0.315 k allocs: 20.4 kB 0.283 k allocs: 17.9 kB 1.14
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/1024 6.31 k allocs: 0.49 MB 5.29 k allocs: 0.412 MB 1.19
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/256 1.68 k allocs: 0.133 MB 1.43 k allocs: 0.114 MB 1.17
mstg_linux/a1_row_mutation_topology/explicit_cold/sparse/32 0.309 k allocs: 20.3 kB 0.277 k allocs: 17.8 kB 1.14
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/1024 9 allocs: 1.97 kB 8 allocs: 1.89 kB 1.04
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/256 9 allocs: 0.75 kB 8 allocs: 0.672 kB 1.12
mstg_linux/a1_row_mutation_topology/explicit_hot_append/dense/32 6 allocs: 0.281 kB 5 allocs: 0.203 kB 1.38
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/1024 12.3 k allocs: 0.188 MB 12.3 k allocs: 0.188 MB 1
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/256 2.04 k allocs: 31.9 kB 2.04 k allocs: 31.9 kB 1
mstg_linux/a1_row_mutation_topology/row_local/empty_restore/32 2.02 k allocs: 31.5 kB 2.02 k allocs: 31.5 kB 1
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/1024 4.6 k allocs: 0.0703 MB 4.6 k allocs: 0.0703 MB 1
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/256 1.02 k allocs: 15.9 kB 1.02 k allocs: 15.9 kB 1
mstg_linux/a1_row_mutation_topology/row_local/pop_restore/32 0.993 k allocs: 15.5 kB 0.993 k allocs: 15.5 kB 1
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/1024 2.53 k allocs: 0.0386 MB 2.53 k allocs: 0.0386 MB 1
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/256 1.51 k allocs: 23.5 kB 1.51 k allocs: 23.5 kB 1
mstg_linux/a1_row_mutation_topology/row_local/sparse_toggle/32 1.51 k allocs: 23.5 kB 1.51 k allocs: 23.5 kB 1
mstg_linux/a1_row_mutation_topology/write_mtg/dense/1024 11.2 k allocs: 0.972 MB 11.2 k allocs: 0.972 MB 1
mstg_linux/a1_row_mutation_topology/write_mtg/dense/256 2.7 k allocs: 0.248 MB 2.7 k allocs: 0.248 MB 1
mstg_linux/a1_row_mutation_topology/write_mtg/dense/32 0.647 k allocs: 0.0595 MB 0.647 k allocs: 0.0595 MB 1
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/1024 7.85 k allocs: 0.549 MB 7.85 k allocs: 0.549 MB 1
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/256 1.98 k allocs: 0.143 MB 1.98 k allocs: 0.143 MB 1
mstg_linux/a1_row_mutation_topology/write_mtg/sparse/32 0.549 k allocs: 0.0458 MB 0.549 k allocs: 0.0458 MB 1
mstg_linux/large/descendants_query/many_attr_mixed_ignore_nothing 1.11 M allocs: 21.9 MB 1.11 M allocs: 21.9 MB 1
mstg_linux/large/descendants_query/many_attr_mixed_keep_nothing 1.21 M allocs: 23.5 MB 1.21 M allocs: 23.5 MB 1
mstg_linux/large/descendants_query/many_attr_one_symbol 1.62 M allocs: 29.7 MB 1.62 M allocs: 29.7 MB 1
mstg_linux/large/descendants_query/one_attr_mixed_ignore_nothing 0.36 M allocs: 7.78 MB 0.36 M allocs: 7.78 MB 1
mstg_linux/large/descendants_query/one_attr_mixed_keep_nothing 0.36 M allocs: 8.06 MB 0.36 M allocs: 8.06 MB 1
mstg_linux/large/descendants_query/one_attr_one_symbol 25 allocs: 2.29 MB 25 allocs: 2.29 MB 1
mstg_linux/large/descendants_query/one_attr_one_symbol_inplace 10 allocs: 2.29 MB 10 allocs: 2.29 MB 1
mstg_linux/large/many_queries/ancestors_repeated 0.539 M allocs: 13.2 MB 0.539 M allocs: 13.2 MB 1
mstg_linux/large/many_queries/ancestors_repeated_inplace 0.15 M allocs: 2.29 MB 0.15 M allocs: 2.29 MB 1
mstg_linux/large/many_queries/children_repeated 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/large/many_queries/descendants_repeated 16.2 M allocs: 0.308 GB 16.2 M allocs: 0.308 GB 1
mstg_linux/large/many_queries/descendants_repeated_inplace 0.213 k allocs: 2.3 MB 0.213 k allocs: 2.3 MB 1
mstg_linux/large/many_queries/parent_repeated 0.152 M allocs: 2.33 MB 0.152 M allocs: 2.33 MB 1
mstg_linux/large/traverse/full_tree_nodes 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/large/traverse_update/multi_attr_leaf_internode_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/large/traverse_update/multi_attr_leaf_internode_node_indexing 1.42 M allocs: 21.7 MB 1.42 M allocs: 21.7 MB 1
mstg_linux/large/traverse_update/multi_attr_leaf_only_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/large/traverse_update/multi_attr_leaf_only_node_indexing 0.628 M allocs: 9.58 MB 0.628 M allocs: 9.58 MB 1
mstg_linux/large/traverse_update/one_attr_all_nodes_explicit_api 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/large/traverse_update/one_attr_all_nodes_node_indexing 0.898 M allocs: 13.7 MB 0.898 M allocs: 13.7 MB 1
mstg_linux/medium/descendants_query/many_attr_mixed_ignore_nothing 0.368 M allocs: 7.3 MB 0.368 M allocs: 7.3 MB 1
mstg_linux/medium/descendants_query/many_attr_mixed_keep_nothing 0.403 M allocs: 7.83 MB 0.403 M allocs: 7.83 MB 1
mstg_linux/medium/descendants_query/many_attr_one_symbol 0.539 M allocs: 9.91 MB 0.539 M allocs: 9.91 MB 1
mstg_linux/medium/descendants_query/one_attr_mixed_ignore_nothing 0.12 M allocs: 2.59 MB 0.12 M allocs: 2.59 MB 1
mstg_linux/medium/descendants_query/one_attr_mixed_keep_nothing 0.12 M allocs: 2.68 MB 0.12 M allocs: 2.68 MB 1
mstg_linux/medium/descendants_query/one_attr_one_symbol 25 allocs: 0.764 MB 25 allocs: 0.764 MB 1
mstg_linux/medium/descendants_query/one_attr_one_symbol_inplace 10 allocs: 0.763 MB 10 allocs: 0.763 MB 1
mstg_linux/medium/many_queries/ancestors_repeated 0.531 M allocs: 13.1 MB 0.531 M allocs: 13.1 MB 1
mstg_linux/medium/many_queries/ancestors_repeated_inplace 0.142 M allocs: 2.17 MB 0.142 M allocs: 2.17 MB 1
mstg_linux/medium/many_queries/children_repeated 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/medium/many_queries/descendants_repeated 5.39 M allocs: 0.103 GB 5.39 M allocs: 0.103 GB 1
mstg_linux/medium/many_queries/descendants_repeated_inplace 0.213 k allocs: 0.77 MB 0.213 k allocs: 0.77 MB 1
mstg_linux/medium/many_queries/parent_repeated 0.148 M allocs: 2.25 MB 0.148 M allocs: 2.25 MB 1
mstg_linux/medium/traverse/full_tree_nodes 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/medium/traverse_update/multi_attr_leaf_internode_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/medium/traverse_update/multi_attr_leaf_internode_node_indexing 0.472 M allocs: 7.21 MB 0.472 M allocs: 7.21 MB 1
mstg_linux/medium/traverse_update/multi_attr_leaf_only_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/medium/traverse_update/multi_attr_leaf_only_node_indexing 0.208 M allocs: 3.18 MB 0.208 M allocs: 3.18 MB 1
mstg_linux/medium/traverse_update/one_attr_all_nodes_explicit_api 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/medium/traverse_update/one_attr_all_nodes_node_indexing 0.298 M allocs: 4.56 MB 0.298 M allocs: 4.56 MB 1
mstg_linux/small/api_surface_small_only/delete_node 4 allocs: 0.0781 kB 4 allocs: 0.0781 kB 1
mstg_linux/small/api_surface_small_only/insert_child 23 allocs: 1.98 kB 23 allocs: 1.98 kB 1
mstg_linux/small/api_surface_small_only/prune_subtree 0.034 M allocs: 0.606 MB 0.034 M allocs: 0.606 MB 1
mstg_linux/small/api_surface_small_only/select 0.032 k allocs: 1.11 kB 0.032 k allocs: 1.11 kB 1
mstg_linux/small/api_surface_small_only/tables_symbol 0.083 k allocs: 3.39 kB 0.083 k allocs: 3.39 kB 1
mstg_linux/small/api_surface_small_only/tables_unified 0.266 k allocs: 0.675 MB 0.266 k allocs: 0.675 MB 1
mstg_linux/small/api_surface_small_only/transform 0.0532 M allocs: 0.883 MB 0.0532 M allocs: 0.883 MB 1
mstg_linux/small/api_surface_small_only/write_mtg 0.0445 M allocs: 4.63 MB 0.0445 M allocs: 4.63 MB 1
mstg_linux/small/descendants_query/many_attr_mixed_ignore_nothing 0.0356 M allocs: 0.712 MB 0.0356 M allocs: 0.712 MB 1
mstg_linux/small/descendants_query/many_attr_mixed_keep_nothing 0.039 M allocs: 0.765 MB 0.039 M allocs: 0.765 MB 1
mstg_linux/small/descendants_query/many_attr_one_symbol 0.0533 M allocs: 0.981 MB 0.0533 M allocs: 0.981 MB 1
mstg_linux/small/descendants_query/one_attr_mixed_ignore_nothing 11.6 k allocs: 0.254 MB 11.6 k allocs: 0.254 MB 1
mstg_linux/small/descendants_query/one_attr_mixed_keep_nothing 11.6 k allocs: 0.263 MB 11.6 k allocs: 0.263 MB 1
mstg_linux/small/descendants_query/one_attr_one_symbol 25 allocs: 0.0771 MB 25 allocs: 0.0771 MB 1
mstg_linux/small/descendants_query/one_attr_one_symbol_inplace 10 allocs: 0.0766 MB 10 allocs: 0.0766 MB 1
mstg_linux/small/many_queries/ancestors_repeated 0.455 M allocs: 11.9 MB 0.455 M allocs: 11.9 MB 1
mstg_linux/small/many_queries/ancestors_repeated_inplace 0.109 M allocs: 1.67 MB 0.109 M allocs: 1.67 MB 1
mstg_linux/small/many_queries/children_repeated 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/small/many_queries/descendants_repeated 0.528 M allocs: 10.4 MB 0.528 M allocs: 10.4 MB 1
mstg_linux/small/many_queries/descendants_repeated_inplace 0.213 k allocs: 0.0832 MB 0.213 k allocs: 0.0832 MB 1
mstg_linux/small/many_queries/parent_repeated 0.124 M allocs: 1.9 MB 0.124 M allocs: 1.9 MB 1
mstg_linux/small/traverse/full_tree_nodes 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/small/traverse_update/multi_attr_leaf_internode_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/small/traverse_update/multi_attr_leaf_internode_node_indexing 0.0455 M allocs: 0.694 MB 0.0455 M allocs: 0.694 MB 1
mstg_linux/small/traverse_update/multi_attr_leaf_only_explicit_api 0 allocs: 0 B 0 allocs: 0 B
mstg_linux/small/traverse_update/multi_attr_leaf_only_node_indexing 19.8 k allocs: 0.302 MB 19.8 k allocs: 0.302 MB 1
mstg_linux/small/traverse_update/one_attr_all_nodes_explicit_api 14 allocs: 6.02 kB 14 allocs: 6.02 kB 1
mstg_linux/small/traverse_update/one_attr_all_nodes_node_indexing 28.5 k allocs: 0.44 MB 28.5 k allocs: 0.44 MB 1
time_to_load 0.2 k allocs: 11.8 kB 0.2 k allocs: 11.8 kB 1

@VEZY
VEZY marked this pull request as ready for review November 20, 2026 15:09
@VEZY
VEZY merged commit 222ea33 into master Nov 20, 2026
8 checks passed
@VEZY
VEZY deleted the codex/lazy-empty-attributes branch November 20, 2026 15:09
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.

1 participant