Skip to content

Commit

Permalink
Remove Prehashed
Browse files Browse the repository at this point in the history
It is too opinionated, in particular with its Eq and PartialEq impls.

While it can be useful, it really depends on the particular application. Typst, for instance, changed from Prehashed to a custom LazyHash which does the same, but in lazy.
  • Loading branch information
laurmaedje committed Feb 21, 2024
1 parent ddb3773 commit 55a724f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 131 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ mod accelerate;
mod cache;
mod constraint;
mod input;
mod prehashed;
mod track;

pub use crate::cache::evict;
pub use crate::prehashed::Prehashed;
pub use crate::track::{Track, Tracked, TrackedMut, Validate};
pub use comemo_macros::{memoize, track};

Expand Down
129 changes: 0 additions & 129 deletions src/prehashed.rs

This file was deleted.

0 comments on commit 55a724f

Please sign in to comment.