Refactored native trait inlining some more - added an optimized path to avoid copying...
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / String / append.pm
index 0c31f30..7652d87 100644 (file)
@@ -18,4 +18,10 @@ sub _potential_value {
     return "( $slot_access . \$_[0] )";
 }
 
+sub _inline_optimized_set_new_value {
+    my ( $self, $inv, $new, $slot_access ) = @_;
+
+    return "$slot_access .= \$_[0];";
+}
+
 1;