tapioca
tapioca copied to clipboard
Optimize File Save Handling in Tapioca LSP Addon
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.