mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 08:18:13 +08:00
Decrease graph compilation time significantly (#1368)
* Decrease compilation time significantly * Refactor reorder_ids method to improve performance
This commit is contained in:
@@ -454,8 +454,7 @@ macro_rules! generate_imaginate_node {
|
||||
$(let $val = self.$val.eval(());)*
|
||||
|
||||
use std::hash::Hasher;
|
||||
use xxhash_rust::xxh3::Xxh3;
|
||||
let mut hasher = Xxh3::new();
|
||||
let mut hasher = rustc_hash::FxHasher::default();
|
||||
frame.image.hash(&mut hasher);
|
||||
let hash =hasher.finish();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user