Skip to content

Commit

Permalink
take a reminder note about low debug performance
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jul 24, 2024
1 parent d571bb6 commit b509e3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zig_notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- Low debug performance may become a problem => investigate!


```zig
const px: usize = 272 - self.sprite_coords[sprite_index * 2 + 1];
```
Expand Down Expand Up @@ -47,4 +50,4 @@ const smp_index: u32 = ((voice.waveform << 5) | ((voice.counter >> 15) & 0x1F))
const mask: u20 = ~(0x0000F << shl);
```

^^^ unable to perform binary not operation on type 'comptime_int'
^^^ unable to perform binary not operation on type 'comptime_int'

0 comments on commit b509e3f

Please sign in to comment.