Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An extra gimmick is that it is often better to inline foo into its caller than foo0 into foo.

For example, in the following that saves a function call cost on every nil call.

    fn foo(bar) {
        if bar != nil {
            foo0(bar)
        }
    }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: