Skip to content

Avoid eager evaluation of arg in vec_as_location*() and vec_recycle() #1150

@krlmlr

Description

@krlmlr

for pretty error messages in tibble.

Do we need to replace .Call() by something different?

It would be great to move the check_dots_empty() check to C code too.

system.time(vctrs::vec_as_location(1, 1L, arg = Sys.sleep(1)))
#>    user  system elapsed 
#>   0.023   0.000   1.025

Created on 2020-06-15 by the reprex package (v0.3.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions