Using buffers making script 3x slower

So I’ve been working on modifying ZZlib to use the new buffer type, however for some reason the script is about 3x slower at decompressing a zip file (PS get a zip file by HttpService:GetAsync on a direct link to one)
Any advice?
Note: There is a point during decompression where it uses a lot of tables which I haven’t got around to redoing in buffers however this is true across both versions so I don’t see how either could be the issue
ZZlib: local unpack = table.unpack or unpacklocal inflinfl = require(script.Infla - Pastebin.com
Inflate module (child of ZZlib): local inflate = {}local bit = bit32 or bitinflate.band = bit.bandinfla - Pastebin.com
ZZlib with buffers: local unpack = table.unpack or unpacklocal inflinfl = require(script.Infla - Pastebin.com
Inflate module using buffers (child of ZZlib): local inflate = {}local bit = bit32 or bitinflate.band = bit.bandinfla - Pastebin.com