Skip to content

Throwing AddressNotFoundException when IP address cannot be resolved is expensive #28

@DigitalGoldfish

Description

@DigitalGoldfish

From a performance point of view it would be much better to just return null in this case. The overhead that is required to generate the exception object is noticeable when profiling our application.

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