Skip to content

Commit

Permalink
Add --!native directive to modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekkonot committed Dec 5, 2023
1 parent 984c11f commit b1f8c1b
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/blake2s/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Swap to use built-in `bit32.byteswap` over custom implementation
- Other performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/blake2s/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

--- The initial values used for the hasher state.
Expand Down
1 change: 1 addition & 0 deletions modules/sha1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.2

Expand Down
1 change: 1 addition & 0 deletions modules/sha1/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

--- An allocation that is reused for blocks during hashing
Expand Down
1 change: 1 addition & 0 deletions modules/sha224/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/sha224/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

--stylua: ignore
Expand Down
1 change: 1 addition & 0 deletions modules/sha256/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/sha256/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

--stylua: ignore
Expand Down
1 change: 1 addition & 0 deletions modules/sha384/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/sha384/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

local BLOCK_FRONT = table.create(80)
Expand Down
1 change: 1 addition & 0 deletions modules/sha512/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/sha512/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

local BLOCK_FRONT = table.create(80)
Expand Down
1 change: 1 addition & 0 deletions modules/xxhash32/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Several performance improvements
- Add `--!native` directive to module to support native codegen in Roblox

## Version 1.0.0

Expand Down
1 change: 1 addition & 0 deletions modules/xxhash32/init.luau
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!strict
--!native
--!optimize 2

local PRIME_1 = 0x9e3779B1
Expand Down

0 comments on commit b1f8c1b

Please sign in to comment.