Skip to content

Commit

Permalink
performance(sqlcipher): Fix burn_stack performance issue
Browse files Browse the repository at this point in the history
Implements a cross-platform version of OP-TEE/optee_os#3102

1. Remove recursion
2. Use memset instead of while loop
  • Loading branch information
alexjba committed May 8, 2023
1 parent cb9f2dd commit c936a5a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 1 addition & 3 deletions vendor/github.com/mutecomm/go-sqlcipher/burn_stack.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions vendor/github.com/mutecomm/go-sqlcipher/zeromem.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c936a5a

Please sign in to comment.