Files
AEmotionStudio-ComfyUI-Shad…/shaders
google-labs-jules[bot] a05cf54409 optimize: Temporal noise generation speedup
Optimized `TemporalCoherentNoiseGenerator.simplex_noise_3d` by:
1. Pre-calculating integer grid coordinates and base hash to avoid redundant type conversions and multiplications in the hot path.
2. Replacing boolean masking logic with `torch.clamp` (ReLU) for efficiency.
3. Optimizing `grad3d` to use integer bitwise operations directly without casting.

Benchmarks show ~1.45x speedup (approx 45% faster) on CPU with identical output statistics.
2026-01-23 07:36:01 +00:00
..