Files
tinygo/builder
Nia Waldvogel d01d0bb358 runtime (gc_blocks.go): make sweep branchless
Instead of looping over each block, we can use bit hacks to operate on an entire state byte.
I deinterleaved the state bits in order to enable these tricks.

Sweep used to count free/freed allocations/blocks.
I managed to move/remove all of these counters:
- The free space is now calculated in buildFreeRanges by adding the range lengths.
- ReadMemStats counts freed objects by subtracting live objects from allocated objects.
- gcFreedBlocks was never necessary because MemStats.HeapAlloc is the same as MemStats.HeapInUse.
2025-12-10 18:39:50 -05:00
..
2025-10-03 15:46:25 +02:00
2025-11-24 12:11:47 +01:00
2025-11-24 12:11:47 +01:00
2025-06-13 14:42:23 +02:00
2025-09-17 05:28:06 -04:00
2025-09-17 05:28:06 -04:00
2023-02-26 19:22:10 +01:00
2025-09-17 05:28:06 -04:00
2025-11-24 12:11:47 +01:00
2024-09-24 17:42:30 +01:00
2025-06-13 14:42:23 +02:00
2025-06-13 14:42:23 +02:00
2025-06-13 14:42:23 +02:00
2025-06-13 14:42:23 +02:00
2024-12-19 15:08:37 +01:00
2025-06-13 14:42:23 +02:00
2025-06-13 14:42:23 +02:00