)]}'
{
  "commit": "d17e6b69e119a4ad05d478106dc2c5e2b67ca8be",
  "tree": "935a45eac3d4de5fe2810c2b0d482fd86fecf7f8",
  "parents": [
    "afa4d4b5100d0efbe2923fb39d02c6c3c2d46004"
  ],
  "author": {
    "name": "Pete Harris",
    "email": "peter.harris@arm.com",
    "time": "Mon Nov 30 23:38:16 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 30 23:38:16 2026"
  },
  "message": "Dynamically allocate only required dec/part_info space (#824)\n\nCurrent code allocates worst-case sizes for decimation_info and partition_info tables, but for nearly all configs this is pessimistic and allocates much more memory than we actually need because not all of those entries are actually used.\n\nMany decimation modes are unusable for a given block size, and many partitioning seeds result in a duplicate partition or a degenerate encoding with fewer than the desired number of partitions. A specific compressor quality preset will then reduce this further by only selecting a subset of block modes (and their corresponding decimation modes) to search.\n\nThis PR makes decimation and partition tables dynamically allocated, using a two pass construction which determines how many to allocate and then populates them. This duplicates some work on context init, but gives significant memory savings and a small performance boost due to better locality.\n\n5.7 \u003d 14.2 MB of tables.\n6.0 main \u003d 5.8 MB of tables.\nPR \u003d 1.6 MB of tables for 6x6 -medium, 2.0 MB of tables for 6x6 -thorough.\n\nTo avoid duplicating pointer indirection, functions now accept direct references to either tables base address or the specific structure to use.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "32fb24d44192a8a1c9dfbb4070cb981f19d03237",
      "old_mode": 33188,
      "old_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp",
      "new_id": "adfbf9b092e6ef92b5ff2e208c4688bf5acfd87a",
      "new_mode": 33188,
      "new_path": "Source/Fuzzers/fuzz_astc_physical_to_symbolic.cpp"
    },
    {
      "type": "modify",
      "old_id": "60825fea5151c0edb73f5fa6d649f23670b8348b",
      "old_mode": 33188,
      "old_path": "Source/UnitTest/test_encode.cpp",
      "new_id": "8c6eb3795cd8d41b4627060fc2eec0fae31205df",
      "new_mode": 33188,
      "new_path": "Source/UnitTest/test_encode.cpp"
    },
    {
      "type": "modify",
      "old_id": "dc738effef9da1c93c045a152e0d7c94ebb9676b",
      "old_mode": 33188,
      "old_path": "Source/astcenc_block_sizes.cpp",
      "new_id": "fff33f45cdcafb9e6d59a5b93539eeb43eef3580",
      "new_mode": 33188,
      "new_path": "Source/astcenc_block_sizes.cpp"
    },
    {
      "type": "modify",
      "old_id": "dd690c2a2d31aeb7f7e55c6728ffafe99c2adbd9",
      "old_mode": 33188,
      "old_path": "Source/astcenc_compress_symbolic.cpp",
      "new_id": "9a75fbd999a127f029793589241db52654817928",
      "new_mode": 33188,
      "new_path": "Source/astcenc_compress_symbolic.cpp"
    },
    {
      "type": "modify",
      "old_id": "1ee16f2909328dfd46a3e9af559e71aa45d7d970",
      "old_mode": 33188,
      "old_path": "Source/astcenc_decompress_symbolic.cpp",
      "new_id": "085a1d04f26f03470ad500b38c2183bc2c54f9c2",
      "new_mode": 33188,
      "new_path": "Source/astcenc_decompress_symbolic.cpp"
    },
    {
      "type": "modify",
      "old_id": "43c1e532a3e4901f0660e1b22fb8cdb884ce1835",
      "old_mode": 33188,
      "old_path": "Source/astcenc_entry.cpp",
      "new_id": "05733d1f12af558cc02fca16badb9b17b272fcb9",
      "new_mode": 33188,
      "new_path": "Source/astcenc_entry.cpp"
    },
    {
      "type": "modify",
      "old_id": "9e55ef9ab6930baa5e5318adf37f0a479cbac648",
      "old_mode": 33188,
      "old_path": "Source/astcenc_find_best_partitioning.cpp",
      "new_id": "99f01fe8e1fa09d6881bd9c2dddd9ba352d0951a",
      "new_mode": 33188,
      "new_path": "Source/astcenc_find_best_partitioning.cpp"
    },
    {
      "type": "modify",
      "old_id": "92393c055b9b9bfe50d73f2ead4e9d81bd6cc815",
      "old_mode": 33188,
      "old_path": "Source/astcenc_ideal_endpoints_and_weights.cpp",
      "new_id": "99bd146acef78c0ae07ed5daaee8584b43ec4ca5",
      "new_mode": 33188,
      "new_path": "Source/astcenc_ideal_endpoints_and_weights.cpp"
    },
    {
      "type": "modify",
      "old_id": "3c199bb5e8d64b29408ca3a676e2cd37492256d0",
      "old_mode": 33188,
      "old_path": "Source/astcenc_internal.h",
      "new_id": "9bbacca7483ec3ddb2fd8dd83856a4b12ca84356",
      "new_mode": 33188,
      "new_path": "Source/astcenc_internal.h"
    },
    {
      "type": "modify",
      "old_id": "ef2ff93820b4c1f91e80def7beabf9cd0398454b",
      "old_mode": 33188,
      "old_path": "Source/astcenc_internal_entry.h",
      "new_id": "77f853a986a0ce51990e8e3da1759187ff814981",
      "new_mode": 33188,
      "new_path": "Source/astcenc_internal_entry.h"
    },
    {
      "type": "modify",
      "old_id": "755845ee9e02ad5434b595d50ec0c50036cacb1c",
      "old_mode": 33188,
      "old_path": "Source/astcenc_lz_optimize.cpp",
      "new_id": "b1f724ae31abf2055c070460540e4f7b907c1388",
      "new_mode": 33188,
      "new_path": "Source/astcenc_lz_optimize.cpp"
    },
    {
      "type": "modify",
      "old_id": "cdff99f9fc827b248824c197fda1c4dc1cf9d0d7",
      "old_mode": 33188,
      "old_path": "Source/astcenc_partition_tables.cpp",
      "new_id": "7ab1378c8b751b72d9240f79d26a49caa4dff50e",
      "new_mode": 33188,
      "new_path": "Source/astcenc_partition_tables.cpp"
    }
  ]
}
