This commit is contained in:
parent
4adc9cd975
commit
f53043763f
|
@ -21,5 +21,8 @@ reallyslowfunction() = sleep(2)
|
|||
sleep(1)
|
||||
end
|
||||
|
||||
|
||||
# The @inbounds macro removes all checks to see if you try to acces elements
|
||||
# outside any container, so might be faster, but definately more unsafe.
|
||||
a = [1, 2, 3]
|
||||
@inbounds println(a[2])
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ println(s)
|
|||
println("a + b = ", a + b)
|
||||
|
||||
|
||||
# The raw string macro is very useful when copying raw text and not
|
||||
# The "raw" string macro is very useful when copying raw text and not
|
||||
# wanting to worry about special characters doing special stuff
|
||||
# (i.e. \n for new line). A common use for this is filepaths
|
||||
|
||||
|
|
Loading…
Reference in New Issue