tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

Optimize File Save Handling in Tapioca LSP Addon

Open alexcrocha opened this issue 1 year ago • 0 comments

Motivation

Currently, each file save triggers DSL generation, even when there are no code changes. This leads to unnecessary processing. This PR addresses the issue by optimizing the save handling process.

Implementation

Implemented a checksum-based approach using Zlib.crc32. By calculating and storing file checksums, we can skip DSL generation for unchanged files, reducing redundant processing.

alexcrocha avatar Oct 18 '24 20:10 alexcrocha