\hypertarget{md_doc_decisions_store_name_autotoc_md2151}{}\doxysection{Problem}\label{md_doc_decisions_store_name_autotoc_md2151}
Memory Consumption in Elektra is quite high as the key names are long and stored twice in memory.\hypertarget{md_doc_decisions_store_name_autotoc_md2152}{}\doxysection{Constraints}\label{md_doc_decisions_store_name_autotoc_md2152}

\begin{DoxyItemize}
\item comparing of keys and thus searching in key sets must be possible with memcmp
\end{DoxyItemize}\hypertarget{md_doc_decisions_store_name_autotoc_md2153}{}\doxysection{Assumptions}\label{md_doc_decisions_store_name_autotoc_md2153}

\begin{DoxyItemize}
\item printing the escaped key name is not so much used
\end{DoxyItemize}\hypertarget{md_doc_decisions_store_name_autotoc_md2154}{}\doxysection{Considered Alternatives}\label{md_doc_decisions_store_name_autotoc_md2154}

\begin{DoxyItemize}
\item store both
\end{DoxyItemize}\hypertarget{md_doc_decisions_store_name_autotoc_md2155}{}\doxysection{Decision}\label{md_doc_decisions_store_name_autotoc_md2155}
Only store one key name, suitable for comparing/searching/iterating over name.\hypertarget{md_doc_decisions_store_name_autotoc_md2156}{}\doxysection{Rationale}\label{md_doc_decisions_store_name_autotoc_md2156}

\begin{DoxyItemize}
\item saves memory
\item reduces API ({\ttfamily key\+Unescaped\+Name$\ast$})
\end{DoxyItemize}\hypertarget{md_doc_decisions_store_name_autotoc_md2157}{}\doxysection{Implications}\label{md_doc_decisions_store_name_autotoc_md2157}

\begin{DoxyItemize}
\item rename {\ttfamily key\+Unescaped\+Name} to {\ttfamily key\+Name}
\item To get the key\+Name you then would need something like \`{}elektra\+Encode\+Key\+Name(buffer, key\+Name(...
\end{DoxyItemize}\hypertarget{md_doc_decisions_store_name_autotoc_md2158}{}\doxysection{Related Decisions}\label{md_doc_decisions_store_name_autotoc_md2158}
\hypertarget{md_doc_decisions_store_name_autotoc_md2159}{}\doxysection{Notes}\label{md_doc_decisions_store_name_autotoc_md2159}
