Skip to content

Commit dee9a6d

Browse files
committed
Deploying to gh-pages from @ 3473063 🚀
1 parent b0a8253 commit dee9a6d

File tree

15 files changed

+78
-76
lines changed

15 files changed

+78
-76
lines changed

dev/articles/FAQ.html

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/articles/FAQ.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ is_named(c(x = "foo"))
146146
#### 7. How do I return a `cpp11::writable::logicals` object with only a `FALSE` value?
147147

148148
You need to use [list
149-
initialization](https://en.cppreference.com/w/cpp/language/list_initialization)
149+
initialization](https://en.cppreference.com/w/cpp/language/list_initialization.html)
150150
with [`{}`](https://rdrr.io/r/base/Paren.html) to create the object.
151151

152152
``` cpp
@@ -338,10 +338,10 @@ void add_one(cpp11::sexp x_sexp) {
338338
``` r
339339
x <- c(1L, 2L, 3L, 4L)
340340
.Internal(inspect(x))
341-
#> @55f96daedbb8 13 INTSXP g0c2 [MARK,REF(2)] (len=4, tl=0) 1,2,3,4
341+
#> @55bb7c3055f8 13 INTSXP g0c2 [MARK,REF(2)] (len=4, tl=0) 1,2,3,4
342342
add_one(x)
343343
.Internal(inspect(x))
344-
#> @55f96daedbb8 13 INTSXP g0c2 [MARK,REF(5)] (len=4, tl=0) 2,3,4,5
344+
#> @55bb7c3055f8 13 INTSXP g0c2 [MARK,REF(5)] (len=4, tl=0) 2,3,4,5
345345
x
346346
#> [1] 2 3 4 5
347347
```
@@ -590,8 +590,8 @@ bench::mark(
590590
#> # A tibble: 2 × 6
591591
#> expression min median `itr/sec` mem_alloc `gc/sec`
592592
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
593-
#> 1 test_extract_cpp11(x) 39.73ms 42.43ms 23.0 0B 42.2
594-
#> 2 test_extract_r_api(x) 1.86ms 1.87ms 532. 0B 0
593+
#> 1 test_extract_cpp11(x) 41.94ms 43.35ms 22.4 0B 41.0
594+
#> 2 test_extract_r_api(x) 1.86ms 1.87ms 531. 0B 0
595595
```
596596

597597
We plan to improve on this in the future, but for now this is one of the

0 commit comments

Comments
 (0)