#TUNING by stefan
authorStefan Vogel <sv@exept.de>
Tue, 07 Feb 2017 22:19:25 +0100
changeset 21378 1aa625b936ed
parent 21377 a808dd6d6b4b
child 21379 c1a1414e4994
#TUNING by stefan class: ExternalBytes removed: #byteAt: #byteAt:put: inherited methods are faster
ExternalBytes.st
--- a/ExternalBytes.st	Tue Feb 07 22:18:51 2017 +0100
+++ b/ExternalBytes.st	Tue Feb 07 22:19:25 2017 +0100
@@ -872,22 +872,6 @@
     "Modified: 19.4.1996 / 11:15:05 / cg"
 !
 
-byteAt:index
-    "return the unsigned byte at index, anInteger.
-     Indices are 1-based, therefore
-     this is the byte at (address + index - 1)"
-
-    ^ self basicAt:index
-!
-
-byteAt:index put:aByteValuedInteger
-    "set the byte at index.
-     Indices are 1-based, therefore
-     this is the byte at (address + index - 1)"
-
-    ^ self basicAt:index put:aByteValuedInteger
-!
-
 copyCStringFromHeap
     "fetch a 0-terminated string from my pointed-to address"