Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
4df12c1
1
Parent(s):
de38458
Let compiler know the main loop is inbounds; this speeds up the code significantly
Browse files- julia/sr.jl +1 -1
- setup.py +1 -1
julia/sr.jl
CHANGED
@@ -807,7 +807,7 @@ function fullRun(niterations::Integer;
|
|
807 |
end
|
808 |
|
809 |
while cycles_complete > 0
|
810 |
-
for i=1:npopulations
|
811 |
# Non-blocking check if a population is ready:
|
812 |
if isready(channels[i])
|
813 |
# Take the fetch operation from the channel since its ready
|
|
|
807 |
end
|
808 |
|
809 |
while cycles_complete > 0
|
810 |
+
@inbounds for i=1:npopulations
|
811 |
# Non-blocking check if a population is ready:
|
812 |
if isready(channels[i])
|
813 |
# Take the fetch operation from the channel since its ready
|
setup.py
CHANGED
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
5 |
|
6 |
setuptools.setup(
|
7 |
name="pysr", # Replace with your own username
|
8 |
-
version="0.3.
|
9 |
author="Miles Cranmer",
|
10 |
author_email="[email protected]",
|
11 |
description="Simple and efficient symbolic regression",
|
|
|
5 |
|
6 |
setuptools.setup(
|
7 |
name="pysr", # Replace with your own username
|
8 |
+
version="0.3.13",
|
9 |
author="Miles Cranmer",
|
10 |
author_email="[email protected]",
|
11 |
description="Simple and efficient symbolic regression",
|