UninterpretedBytes.st
branchjv
changeset 20143 c64b16f62536
parent 19861 95c7068e30ba
parent 20139 526f3fe27a17
child 20205 03e626304d06
--- a/UninterpretedBytes.st	Tue Jul 12 06:40:09 2016 +0200
+++ b/UninterpretedBytes.st	Wed Jul 13 07:01:16 2016 +0200
@@ -4041,25 +4041,6 @@
     "
 !
 
-asString
-    "speed up string conversions"
-
-    |size cls|
-
-    cls := self class.
-
-    (cls == ByteArray or:[cls == ImmutableByteArray or:[cls == ExternalBytes]]) ifTrue:[
-        size := self size.
-        ^ (String uninitializedNew:size) replaceBytesFrom:1 to:size with:self startingAt:1.
-    ].
-    ^ super asString.
-
-    "
-      #[16r41 16r42 16r43] asString
-      #[16r41 16r42 16r43] asExternalBytes asString
-    "
-!
-
 asUUID
     ^ UUID fromBytes:self
 ! !