Skip to content

Conversation

@schneems
Copy link
Collaborator

Identified in the profiler as taking a long time

Before:

By removing the Array#- call we speed that section up by roughly double

After:

Before: 0.163143 0.004160 0.167303 ( 0.167356)
After: 0.135444 0.003195 0.138639 ( 0.138698)

Identified in the profiler as taking a long time

Before:     

![](https://www.dropbox.com/s/ssa18i1if50t550/Screen%20Shot%202021-11-10%20at%206.32.06%20PM.png?raw=1)


By removing the `Array#-` call we speed that section up by roughly double

After: 

![](https://www.dropbox.com/s/nkktxle1gvcmckt/Screen%20Shot%202021-11-10%20at%206.33.36%20PM.png?raw=1)


Before:   0.163143   0.004160   0.167303 (  0.167356)
After:    0.135444   0.003195   0.138639 (  0.138698)
@schneems schneems force-pushed the schneems/unexplored_frontier branch from 36de260 to b9009e6 Compare November 11, 2021 00:56
@schneems schneems merged commit 14a54ad into main Nov 11, 2021
@schneems schneems deleted the schneems/unexplored_frontier branch November 11, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants