Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1 @@
|
|||
randoms = for _ <- 1..10, do: :random.uniform(1000)
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
include FMS-SI.f
|
||||
include FMS-SILib.f
|
||||
|
||||
|
||||
\ create a list of VAR objects the right way
|
||||
\ each: returns a unique object reference
|
||||
o{ 0 0 0 } dup p: o{ 0 0 0 }
|
||||
dup each: drop . 10774016
|
||||
dup each: drop . 10786896
|
||||
dup each: drop . 10786912
|
||||
|
||||
|
||||
\ create a list of VAR objects the wrong way
|
||||
\ each: returns the same object reference
|
||||
var x
|
||||
object-list2 list
|
||||
x list add:
|
||||
x list add:
|
||||
x list add:
|
||||
list p: o{ 0 0 0 }
|
||||
list each: drop . 1301600
|
||||
list each: drop . 1301600
|
||||
list each: drop . 1301600
|
||||
Loading…
Add table
Add a link
Reference in a new issue