Decrease graph compilation time significantly (#1368)

* Decrease compilation time significantly

* Refactor reorder_ids method to improve performance
This commit is contained in:
Dennis Kobert 2023-08-06 21:36:44 +02:00 committed by GitHub
parent c653fe9579
commit 3262f637d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 125 additions and 112 deletions

View file

@ -15,7 +15,7 @@ fn main() {
let network = add_network();
let compiler = graph_craft::graphene_compiler::Compiler {};
let proto_network = compiler.compile_single(network, true).unwrap();
let proto_network = compiler.compile_single(network).unwrap();
let io = ShaderIO {
inputs: vec![