Skip to content

Improve HTML generation speed creating a global image cache registry instead of using file system #21

@ccgauche

Description

@ccgauche

Currently the exists function that fetches the filesytem takes most of the compute time in get_image_url:image.rs and most of the HTML generation time.

image

A simple and effective fix would be to do the same as with urls and store an HashSet of the image url

Another possible improvement is to use tokio tasks instead of threads.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions