Skip to content

Are you creating your own (de-)vectorization problems? #2

Open
@jennybc

Description

@jennybc

Sometimes we are the ones who miss opportunities to vectorize our own functions. Or sometimes we de-vectorize things that started out as vectorized. Red flags:

@colearendt:

Thinking too much in control structures like if () {} else {} often lands me in a non-vectorized state.

@hadley:

use of unlist() is a good warning sign that you're de-vectorising a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions