Last active
June 11, 2018 21:20
-
-
Save Mercerenies/aa0e276f5b31f05a21a7fb03d551bc59 to your computer and use it in GitHub Desktop.
Profiling of the various assignment-operator syntaxes in Latitude
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; manual | |
10000 times { | |
a := 1. | |
a= := { parent a := #'($1). }. | |
do { a = 2. }. | |
}. | |
;; assignable | |
10000 times { | |
a := 1. | |
assignable 'a. | |
do { a = 2. }. | |
}. | |
;; local | |
10000 times { | |
local 'a = 1. | |
do { a = 2. }. | |
}. | |
;; variable-decl | |
10000 times { | |
a := 1. | |
do { a = 2. }. | |
}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment