audio perf: resample planar history + shared dot loop, mdct inverse fused unfold + fft index hoisting, AudioOps strided loops / remix term lists, wav sample loops, SILK LPC in locals, upvalue hoisting (Celt, Mpa), --!optimize 2 on every audio module; tools/bench_audio.luau

This commit is contained in:
4DBug committed 2026-11-01 19:00:38 -06:00
1 parent 01c044805f
commit 051aca5b74
98 files changed
+707 -171

No files matched your search

@@ -1,5 +1,6 @@
--!strict
--!native
--!optimize 2
-- codecs/audio/Vorbis/Setup: the three Vorbis header packets (Vorbis I spec section 4.2).
-- Ported from stb_vorbis 1.22 start_decoder (public domain / MIT, licenses/stb_vorbis-LICENSE.txt). Floor 0 is
-- rejected as unsupported, as stb_vorbis does.
@@ -1,4 +1,5 @@
--!strict
--!optimize 2
-- codecs/audio/Vorbis/Tables: the floor 1 inverse dB table (Vorbis I specification section 10.1, as in stb_vorbis 1.22,
-- public domain / MIT, licenses/stb_vorbis-LICENSE.txt).
return table.freeze({
@@ -1,4 +1,5 @@
--!strict
--!optimize 2
-- codecs/audio/Vorbis: the Vorbis I decoder without its container.
-- A Luau port of stb_vorbis 1.22 (public domain / MIT, licenses/stb_vorbis-LICENSE.txt).
local Vorbis = {