smallrye / smallrye-common

Common utilities for SmallRye
Apache License 2.0
21 stars 24 forks source link

Provide API to construct IP addresses from host name and segments #279

Closed dmlloyd closed 8 months ago

dmlloyd commented 8 months ago

Also, use the new API to construct the global IP address constants, to avoid unnecessary String construction.

Supercedes #276.

radcortez commented 8 months ago

As a reference, here is the flamegraph for this PR:

Screenshot 2024-01-23 at 15 21 42

Which seems better than the current main: https://github.com/smallrye/smallrye-common/pull/276#issuecomment-1904496104