• S
    Improve image optimizer to only create 1 worker thread (#23188) · 241a916e
    Shu Ding 提交于
    As stated in #23157, this PR merges all the operations into 1 worker thread (`processBuffer` in `impl.ts`) and only pass a list of operation names and args into the worker. This should improve the speed and memory usage of next/image.
    
    Fixes #23157. X-ref: #22925.
    241a916e
image-optimizer.ts 10.7 KB