What is the maximum number of macros one can define with pdflatex? I thought that the limit was around 35,000, but it looks like I am well past that and things are still working fine. This includes:
\newcommand\def\csdef\NewDocumentCommand- etc..
Is there specific limits on each of these or some global limit?
Background:
I am in the process of restructing my code so wanted to know if I am aproaching some limit soon.
One things I was thinking of doing was to replace something like
\csdef{Property A file1}{abcd}
\csdef{Property B file1}{efgh}
\csdef{Property C file1}{ijkl}
\csdef{Property D file1}{mnop}
with something like
\csdef{Properties file1}{{abcd}{efgh}{ijkl}{mnop}
and then parsing this when needed to extract the indiviual properties resulting in a reduction by a factor of 4. But, if I am not near the limits, then I can delay this optimization to later.