message: Optimise to_bool/to_int
  Summary: Useful to avoid a get_aref in these cases.
diff: @@ -462,11 +462,21 @@ impl<'v> Value<'v> {
  self.get_aref().get_type()
  }
  pub fn to_bool(self) -> bool {
  + // Fast path for the common case
  + if let Some(x) = self.unpack_bool() {
  + x
  + } else {
  self.get_aref().to_bool()
  }
  + }
  pub fn to_int(self) -> anyhow::Result<i32> {
  + // Fast path for the common case
  + if let Some(x) = self.unpack_int() {
  + Ok(x)
  + } else {
  self.get_aref().to_int()
  }
  + }
  pub fn at(self, index: Value<'v>, heap: &'v Heap) -> anyhow::Result<Value<'v>> {
  self.get_aref().at(index, heap)
  }
  