Skip to content

Releases: AnotherSubatomo/luau_qoi

v2.2.0

Choose a tag to compare

@AnotherSubatomo AnotherSubatomo released this 29 Aug 04:28
52df5da
  • Optimized both encode() and decode() by a large margin (more info at the comments in test.luau) by removing table allocations altogether and replacing them with buffers.
  • Switched the structure of a Pixel from the explicit {number} to an implicit u32.
  • Localized more common/frequently called standard library functions, data, and variables.
  • Enhanced readability by revsing variable names to aptly match their usage — again.
  • Now rigorously type-strict for both the old and new type solver.
  • Improved the assert at READ_TO_IMAGE() that ensures the function is being called inside a Roblox environment by changing the binary operator at the condition from or to and.

Full Changelog: v2.0.0...v2.2.0

v2.0.0

Choose a tag to compare

@AnotherSubatomo AnotherSubatomo released this 27 Aug 16:29
1190e29
  • Improved readability by revising some variable names to aptly match their functionality.
  • Optimized encode() and decode() by minimizing table allocations, preventing table size growth, and localizing frequently called standard library functions to minimize call costs.
  • API redesign: the library now requires inputs and outputs of type ImageData, view the type definition at the source to learn more.
  • Ensured type safety (atleast, to the old-but-current type solver).

Full Changelog: v1.0.0...v2.0.0

v1.0.0

Choose a tag to compare

@AnotherSubatomo AnotherSubatomo released this 09 Apr 10:07
ba37990