Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Separate "setup" and "work" code in runtime #4

@andreypopp

Description

@andreypopp

Some functions (like f/) do some "setup" (alloc the container for the result) and then do some "work" (fill the container). As per my understanding we should split those two phases into separate methods so we'd allow Julia to compile specialised methods for "work" code.

https://docs.julialang.org/en/v1/manual/performance-tips/#kernel-functions

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