2 Matching Annotations
  1. Jan 2021
    1. We could have called a.clone() rather than Rc::clone(&a), but Rust’s convention is to use Rc::clone in this case. The implementation of Rc::clone doesn’t make a deep copy of all the data like most types’ implementations of clone do. The call to Rc::clone only increments the reference count, which doesn’t take much time. Deep copies of data can take a lot of time. By using Rc::clone for reference counting, we can visually distinguish between the deep-copy kinds of clones and the kinds of clones that increase the reference count. When looking for performance problems in the code, we only need to consider the deep-copy clones and can disregard calls to Rc::clone
  2. Sep 2016
  3. online.salempress.com.lacademy.idm.oclc.org online.salempress.com.lacademy.idm.oclc.org
    1. Colombian arts were heavily influenced by the Roman Catholic Church

      RC influenced art