diff --git a/actionpack/lib/action_dispatch/journey/nodes/node.rb b/actionpack/lib/action_dispatch/journey/nodes/node.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/journey/nodes/node.rb
+++ b/actionpack/lib/action_dispatch/journey/nodes/node.rb
@@ -32,7 +32,7 @@ module ActionDispatch
         end
 
         def name
-          left.tr "*:".freeze, "".freeze
+          -(left.tr "*:", "")
         end
 
         def type
@@ -82,7 +82,7 @@ module ActionDispatch
         def initialize(left)
           super
           @regexp = DEFAULT_EXP
-          @name = left.tr "*:".freeze, "".freeze
+          @name = -(left.tr "*:", "")
         end
 
         def default_regexp?
PERF: reduce retained objects in Journey

Before:

Total allocated: <I> bytes (<I> objects)
Total retained:  <I> bytes (<I> objects)

After:

Total allocated: <I> bytes (<I> objects)
Total retained:  <I> bytes (<I> objects)

---

Modest saving of <I> RVALUEs in the heap on Discourse boot

The larger the route file the better the results.

Saving will only be visible on Ruby <I> and up.