"cache hash" API in the std lib (or at least in src-self-hosted) #4311
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
stage1
The process of building from source via WebAssembly and the C backend.
standard library
This issue involves writing Zig code for the standard library.
Milestone
Currently, the stage1 compiler makes use of:
As the backend for its caching. The self-hosted compiler will also need to do caching, with a similar API.
The Zig std lib has a variety of hash functions to choose from:
Porting this API, or implementing an alternative, yet similar API, will accomplish the following:
zig fmt
,zig targets
, etc. Less C++ code; more Zig code.The text was updated successfully, but these errors were encountered: