I'd go with a special symbol that conveys the idea:
\documentclass[twocolumn]{article}
\usepackage{amsmath,amssymb}
\DeclareRobustCommand{\upcomp}{{{-}\!\!{\bullet}}}
\DeclareRobustCommand{\downcomp}{{{\bullet}\!\!{-}}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\RRup}{\RR_{\upcomp}}
\newcommand{\RRdown}{\RR_{\downcomp}}
\begin{document}
We define $\RRup=\RR\cup\{+\infty\}$ and $\RRdown=\RR\cup\{-\infty\}$
with the topology induced by the usual extended real line.
Now we can use $C_0(\RRup)$ that takes less space.
\end{document}

Alternative with \mapsfromchar
of stmaryrd
:
\documentclass[twocolumn]{article}
\usepackage{amsmath,amssymb,stmaryrd}
\DeclareRobustCommand{\upcomp}{{-\mapsfromchar}}
\DeclareRobustCommand{\downcomp}{{\mapstochar-}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\RRup}{\RR_{\upcomp}}
\newcommand{\RRdown}{\RR_{\downcomp}}
\begin{document}
We define $\RRup=\RR\cup\{+\infty\}$ and $\RRdown=\RR\cup\{-\infty\}$
with the topology induced by the usual extended real line.
Now we can use $C_0(\RRup)$ that takes less space.
\end{document}

{\cup}
to lose the binop spacing but can't you define this to be R_\infinity or some such, and then just use the defined symbol? – David Carlisle Oct 17 '20 at 14:48\cup
as an "ordinary " character, eliminating all space, wrap it in braces:{\cup}
. – barbara beeton Oct 17 '20 at 14:48\bigl(...\bigr)
. You can lose the spacing around\cup
by enclosing it in braces{\cup}
. – campa Oct 17 '20 at 14:49