faster elementByteSize query
authorClaus Gittinger <cg@exept.de>
Thu, 15 Sep 2011 15:11:56 +0200
changeset 13708 079c1e1c7594
parent 13707 a8f395adfac2
child 13709 b0e160b132eb
faster elementByteSize query
DoubleArray.st
--- a/DoubleArray.st	Thu Sep 15 15:11:52 2011 +0200
+++ b/DoubleArray.st	Thu Sep 15 15:11:56 2011 +0200
@@ -9,7 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 ArrayedCollection variableDoubleSubclass:#DoubleArray
@@ -83,6 +82,17 @@
 "
 ! !
 
+
+
+!DoubleArray class methodsFor:'queries'!
+
+elementByteSize
+    ^ 8
+
+    "Created: / 15-09-2011 / 14:12:46 / cg"
+! !
+
+
 !DoubleArray methodsFor:'queries'!
 
 defaultElement
@@ -92,5 +102,5 @@
 !DoubleArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.19 2003-04-22 09:39:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/DoubleArray.st,v 1.20 2011-09-15 13:11:56 cg Exp $'
 ! !