Skip to content

Implement zero-allocation evaluator with centralized buffer management#16

Merged
10d9e merged 1 commit intomainfrom
feat/zero-alloc-opt
Oct 16, 2025
Merged

Implement zero-allocation evaluator with centralized buffer management#16
10d9e merged 1 commit intomainfrom
feat/zero-alloc-opt

Conversation

@10d9e
Copy link
Contributor

@10d9e 10d9e commented Oct 16, 2025

  • Introduced a new evaluator package for performing TFHE operations with zero allocations.
  • Added BufferPool and BufferManager for efficient memory management during polynomial and ciphertext operations.
  • Enhanced Evaluator struct to utilize pre-allocated buffers for polynomial operations, external products, and bootstrapping.
  • Implemented various gate preparation methods (AND, OR, NAND, XOR) using zero-allocation techniques.
  • Updated trgsw and trlwe packages to leverage the new evaluator for optimized performance.
  • Added benchmark tests for evaluating performance improvements in TFHE operations.

- Introduced a new `evaluator` package for performing TFHE operations with zero allocations.
- Added `BufferPool` and `BufferManager` for efficient memory management during polynomial and ciphertext operations.
- Enhanced `Evaluator` struct to utilize pre-allocated buffers for polynomial operations, external products, and bootstrapping.
- Implemented various gate preparation methods (AND, OR, NAND, XOR) using zero-allocation techniques.
- Updated `trgsw` and `trlwe` packages to leverage the new evaluator for optimized performance.
- Added benchmark tests for evaluating performance improvements in TFHE operations.
@10d9e 10d9e merged commit 66f30df into main Oct 16, 2025
1 check passed
@10d9e 10d9e deleted the feat/zero-alloc-opt branch October 16, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant