equal
deleted
inserted
replaced
159 else if (Library.is_small_int(x)) Library.signed_string_of_int(Integer.parseInt(x)) |
159 else if (Library.is_small_int(x)) Library.signed_string_of_int(Integer.parseInt(x)) |
160 else |
160 else |
161 lookup(x) match { |
161 lookup(x) match { |
162 case Some(y) => y |
162 case Some(y) => y |
163 case None => |
163 case None => |
164 val z = Library.trim_substring(x) |
164 val z = Library.isolate_substring(x) |
165 if (z.length > max_string) z else store(z) |
165 if (z.length > max_string) z else store(z) |
166 } |
166 } |
167 private def cache_props(x: Properties.T): Properties.T = |
167 private def cache_props(x: Properties.T): Properties.T = |
168 if (x.isEmpty) x |
168 if (x.isEmpty) x |
169 else |
169 else |
170 lookup(x) match { |
170 lookup(x) match { |
171 case Some(y) => y |
171 case Some(y) => y |
172 case None => store(x.map(p => (Library.trim_substring(p._1).intern, cache_string(p._2)))) |
172 case None => store(x.map(p => (Library.isolate_substring(p._1).intern, cache_string(p._2)))) |
173 } |
173 } |
174 private def cache_markup(x: Markup): Markup = |
174 private def cache_markup(x: Markup): Markup = |
175 lookup(x) match { |
175 lookup(x) match { |
176 case Some(y) => y |
176 case Some(y) => y |
177 case None => |
177 case None => |