Skip to content

geoip: Enable the niche optimization for CountryCode.

Nick Mathewson requested to merge nickm/arti:cc_niche into main

Since we're going to be using Option<CountryCode> all over, let's save the extra byte.

Sadly this required std::mem::transmute(), which is unsafe, so maybe we should think twice.

Merge request reports

Loading