···121121122122 /// Pushes the most compact representation of the given atom.
123123 pub fn atom(&mut self, atom: &str) {
124124+ // TODO: we could explore using ATOM_CACHE_REF in future.
125125+ // Might be able to get slightly faster ETF parsing out of erlc if we
126126+ // use it:
127127+ // https://www.erlang.org/doc/apps/erts/erl_ext_dist.html#atom_cache_ref
124128 if atom.len() <= 255 {
125129 self.small_atom_utf8(atom);
126130 } else {