Files
dorf/assets
popertots 5b563bad67 perf: SmallVec inline storage, TOML drop tables, seeded deterministic RNG
- SmallVec<[DropEntry; 2]> replaces Vec in DropTable: zero heap allocation for
  all current tiles (0 or 1 entries), spills to heap only at 3+
- DropEntry fields packed to u8 (chance_pct, min_count, max_count): ~12 bytes ->
  4 bytes; derives Copy so no extra clones
- Replaced SystemTime pseudo-RNG with dig_rng(pos): PCG-style hash of world SEED
  + tile position. Deterministic per world, same dig = same roll every time
- TOML-driven drop tables: assets/drop_tables.toml (grass=5%/1-2, rock=10%/1,
  dirt/air=none). TOML parsed at startup into DropTableRegistry resource
- OnceLock global map for async terrain generation tasks to access drop tables
  without Bevy resource borrowing
- terrain.rs: DropTableRegistry::global_get("tile") replaces hardcoded drop_table_for
2026-03-21 16:06:41 +00:00
..
2025-01-07 21:35:44 +00:00
art
2025-01-13 21:02:55 +00:00
2024-12-18 00:38:25 +00:00
2024-12-29 00:45:07 +00:00
2024-12-29 00:45:07 +00:00
2024-12-12 17:19:59 +00:00
2024-12-12 17:19:59 +00:00
2025-09-12 18:04:03 +01:00
2024-12-30 22:19:25 +00:00
2024-12-13 23:07:08 +00:00
Art
2025-09-10 18:11:01 +01:00
2025-02-08 00:23:49 +00:00
2024-12-29 00:45:07 +00:00
2024-12-29 00:45:07 +00:00
Art
2025-09-10 18:11:01 +01:00
art
2025-01-13 21:02:55 +00:00
2025-01-07 21:35:44 +00:00
2024-12-12 17:19:59 +00:00
2024-12-29 00:45:07 +00:00
2024-12-29 00:45:07 +00:00
2025-05-23 17:09:58 +01:00
2025-05-11 22:58:25 +01:00
2025-09-10 20:03:29 +01:00
Art
2025-09-10 18:11:01 +01:00
2025-09-14 19:04:34 +01:00
2024-12-29 00:45:07 +00:00
2024-12-29 00:45:07 +00:00
2025-01-25 16:54:27 +00:00
2024-12-30 22:19:25 +00:00
2025-05-05 23:09:28 +01:00