Enables link time optimizations

pull/10/head
Tpt 5 years ago
parent 2f706a777f
commit 9cc96a5155
  1. 5
      Cargo.toml
  2. 1
      lib/src/model/isomorphism.rs

@ -2,4 +2,7 @@
members = [
"lib",
"server"
]
]
[profile.release]
lto = true

@ -262,7 +262,6 @@ pub fn are_graphs_isomorphic(a: &SimpleGraph, b: &SimpleGraph) -> bool {
for distance in 0..5 {
let max_size = a_bnodes_by_hash
.values()
.into_iter()
.map(|l| l.len())
.max()
.unwrap_or(0);

Loading…
Cancel
Save