SergioRibera / super_clipboard

Manage your clipboard history with a beautiful and simple interface
MIT License
24 stars 2 forks source link

Fixing performance issues #5

Open SergioRibera opened 9 months ago

SergioRibera commented 9 months ago

Currently, the application consumes much more than I would like, primarily due to the use of wgpu as the rendering method for iced. The solution would be to implement tiny-skia (here is a project in which I implemented it successfully, it is very simple and can serve as a guide) as the renderer for the application, but with the condition that it retains the current features, such as reappearing when using the shortcut, window transparency, and color themes.

The application currently has other performance issues due to the way it was developed, such as asset handling. I believe there may be a more optimal way to do it, so if you find a better approach, you can also contribute.