Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tumdum_
· 3y ago · 0 comments
Almost always the cost of borrow checker is trivial compared to code gen (and sometimes instantiation of generics). You can see that easily by comparing time of `cargo check` and `cargo build`.
Comments
[–]
vegerot
3y ago
The specific time borrow check takes is in the article. Check out the section on “ Cranelift backend”
[–]
strager
3y ago
Note: I wouldn't draw any conclusions from the -Zself-profile data in the article. It looks at just one rustc invocation, and is one sample.