Skip to content

Use in-place key switching and relinearization#284

Merged
tlepoint merged 3 commits into
mainfrom
codex/identify-and-implement-single-thread-optimizations
Aug 23, 2025
Merged

Use in-place key switching and relinearization#284
tlepoint merged 3 commits into
mainfrom
codex/identify-and-implement-single-thread-optimizations

Conversation

@tlepoint

Copy link
Copy Markdown
Owner

Summary

  • reuse ciphertext buffers when computing inner sums and rotations
  • switch RGSW external product to in-place key switching
  • add tests for key_switch_assign and relinearize_into

Testing

  • cargo test -p fhe
  • cargo run --release --example mulpir -- --database-size 1000 --element-size 288

https://chatgpt.com/codex/tasks/task_e_68a9f9a761f08323b250b38d2bed5067

@tlepoint tlepoint merged commit e50fe0c into main Aug 23, 2025
6 checks passed
@tlepoint tlepoint deleted the codex/identify-and-implement-single-thread-optimizations branch August 23, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant