• @[email protected]
    link
    fedilink
    English
    18 days ago

    “signal handling is zero-cost until the signal is generated”

    True, but higher level languages impose restrictions about in lining and other optimizations for code blocks that can generate/catch an exception. So an explicit null check is often superior.