Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
5e32b3b6
Commit
5e32b3b6
authored
Apr 14, 2008
by
Tiago Peixoto
Browse files
Improve memory usage during compilation
Avoiding use of lambda::bind when not necessary (or very convenient).
parent
ee25eabe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/correlations/graph_correlations_combined.cc
View file @
5e32b3b6
...
...
@@ -48,12 +48,12 @@ get_vertex_combined_correlation_histogram(const GraphInterface& gi,
bins
[
0
]
=
xbin
;
bins
[
1
]
=
ybin
;
run_action
<>
()(
gi
,
lambda
::
bind
<
void
>
(
get_correlation_histogram
<
GetCombinedPair
>
(
hist
,
bins
,
ret_bins
),
lambda
::
_1
,
lambda
::
_2
,
lambda
::
_3
,
dummy_weight
(
0
))
,
all_selectors
(),
all_selectors
())
(
degree_selector
(
deg1
,
gi
),
degree_selector
(
deg2
,
gi
));
run_action
<>
()(
gi
,
get_correlation_histogram
<
GetCombinedPair
>
(
hist
,
bins
,
ret_bins
)
,
all_selectors
(),
all_selectors
(
),
mpl
::
vector
<
dummy_weight
>
())
(
degree_selector
(
deg1
,
gi
),
degree_selector
(
deg2
,
gi
),
boost
::
any
(
dummy_weight
()
));
return
python
::
make_tuple
(
hist
,
ret_bins
);
}
...
...
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