and there apparently Base. actually missing, since Base.Lockable actually only exported in 1.12, so unclear why also working in 1.11 (even before when absent? I do not see Compat.jl used).
Should Lockable be made public, since it’s used? That started this investigation…
Never thought to check, but Base.Int, Base.Int32, Base.Float64, etc all are non-public names that happen to be assigned to same objects as the original Core names. ?Main.# doesn’t show that, so that suggests Base assigns Core types instead of importing, despite having an export list in exports.jl that suggests reexporting all these names from Core. No idea where or why.
Not really sure if you meant to talk about UInt32_cold(c::Char) = UInt32(c) because the rest of the topic doesn’t address it, but I’m pretty sure “cold” is an informal hint of a rarely executed path, opposite of a hot path. As for being a separate function, it appears to be marked @noinline, so it probably just helps limit the compiled code size of the caller function.