Skip to content

Optimize Image Thumbnail Loading #5

@hittjwX

Description

@hittjwX

Optimize Image Thumbnail Loading (Low Value, Low Risk)

File/Line: TableComponent.svelte:85-90

Description: Only load image buffers for visible items in the infinite scroll batch, and cancel promises for scrolled-away items.

Why: getImgBufferPromise loads images eagerly for all results, consuming memory. Lazy loading reduces UI lag and memory usage for image-heavy vaults. Low risk; enhances existing infinite scroll.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions