Skip to content

Commit

Permalink
refactor: add note for future optimization in crc impl
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Jan 6, 2025
1 parent e7a654d commit de96193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/crc.luau
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
local CRC32_TABLE = table.create(256)

-- TODO: Maybe compute this AoT as an optimization
-- Initialize the lookup table and lock it in place
for i = 0, 255 do
local crc = i
Expand Down

0 comments on commit de96193

Please sign in to comment.