brigadier icon indicating copy to clipboard operation
brigadier copied to clipboard

Remove unnecessary literals map

Open astei opened this issue 3 years ago • 2 comments

Literals have some special handling in Brigadier, but as it turns out, it's also possible to derive what is and isn't a literal from the existing children. This reduces the amount of memory used to store a full 1.16.x command tree by about 18%.

astei avatar Jun 13 '21 08:06 astei

Closing and reopening to rerun checks.

peterix avatar Oct 26 '22 16:10 peterix