Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
953123de
Commit
953123de
authored
Nov 23, 2015
by
POTTIER Francois
Browse files
Hoist two computations out of a loop in [E.query].
parent
a82d5c32
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/LRijkstra.ml
View file @
953123de
...
...
@@ -893,10 +893,10 @@ end = struct
)
end
else
let
i
=
index
s
in
let
m
=
table
.
(
i
)
in
foreach
(
fun
z
->
assert
(
Terminal
.
real
z
);
let
i
=
index
s
in
let
m
=
table
.
(
i
)
in
let
key
=
pack
nt
a
z
in
match
H
.
find
m
key
with
|
w
->
f
w
z
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment