Skip to content

Commit

Permalink
Avoid panics in all heap functions (#11)
Browse files Browse the repository at this point in the history
* Avoid panics

* Introduce HoleSwap type to reduce unsafe blocks

* Remove explicit passing of subslice length

* Use Deref for formatting functions

Avoids unnecessary bounds checks and code duplication

* Fix typos
  • Loading branch information
calebsander authored Dec 20, 2021
1 parent 4498b8d commit 6a1a4c3
Show file tree
Hide file tree
Showing 2 changed files with 246 additions and 241 deletions.
Loading

0 comments on commit 6a1a4c3

Please sign in to comment.