1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-15 05:04:49 +00:00
janet/src
Ian Shehadeh bbb3e16fd1 int/to-bytes: return a buffer instead of a tuple
Buffers make more sense for this function because one of their primary
use cases is working with bytes.
The tuple implementation was an array of floats,  which is less
performant and ergonomic for common operations. (i.e: bit manipulation)

Buffers also have the advantage they are mutable, meaning the user
can write ints to an existing buffer.
2022-03-05 08:21:53 -05:00
..
boot Address #804 - save and restore module cache when flychecking. 2022-02-12 10:36:45 -06:00
conf Prepare for 1.20.0 release. 2022-01-27 21:38:07 -06:00
core int/to-bytes: return a buffer instead of a tuple 2022-03-05 08:21:53 -05:00
include Tweaks on redef feature branch. 2022-01-06 20:38:15 -06:00
mainclient shell: Handle EINTR on long reads 2022-02-04 02:31:40 +02:00