(slice []Value)
| 2008 | } |
| 2009 | |
| 2010 | func zeroValueSlice(slice []Value) { |
| 2011 | // TODO(jamieliu): check if Go is actually smart enough to optimize a |
| 2012 | // ClearValue that assigns nil to a memset here. |
| 2013 | for i := range slice { |
| 2014 | Functions{}.ClearValue(&slice[i]) |
| 2015 | } |
| 2016 | } |
| 2017 | |
| 2018 | func zeroNodeSlice(slice []*node) { |
| 2019 | for i := range slice { |
no test coverage detected
searching dependent graphs…