Releases: ffrostfall/ByteNet
Releases · ffrostfall/ByteNet
v0.4.3
0.4.3
Fixes
- Fixed
i16
allocating 8 bytes instead of 2.
Improvements
- Significant optimization to optional types
- Array serialization is roughly ~2x as efficient
- All data type write functions now directly reference the buffer writer. This means all allocation calls are inlined, and there are roughly ~3x less function calls.
v0.4.2
Fixes
- Fixed sending unreliable events from client -> server
v0.4.0
0.4.0
Added
- Namespaces have been added.
- Structs have been added.
- Three new data types: Instance, unknown, and nothing. The "nothing" type is to allow for packets without any contents.
- Added
wait()
to packets.
Improvements
- Arrays are now forced to have number indexes
- Packets are now based off closures, instead of metatables. This means you now have to use
.
indexxing instead of:
to call methods. - You can now have duplicate packet contents
- Packets now take a single value (Which can be a struct) instead of being "special".
- Significant optimization: Packets are now singular values that can be structs, which reduces complexity, thus increasing performance.
- Buffers are now reused, preventing resizing from being necessary. This should result in massive performance gains.
Fixes
- Added
sendTo()
to thePacket
type. This fixes autocomplete.
v0.3.1
version 0.3.1
Improvements
- Rewrote serialization to use an allocator w/ resizing instead of using "deferred write" functions. Should be an incredibly large performance boost.
v0.3.0
version 0.3.0
Added
- Types: Vector2, CFrame, Array, Optional, Map
Improvements
- Rewrote client/server processing. Should drastically improve stability and performance.
- Completely re-did how serialization happens to be a lot more stable, and to allow a lot of room for improvement.
- Many type improvements
- Removed only dependency
version-0.1.0
Fix docs