From 8f9a99102cf4b6a9b5d43493b13a7e2e4ab8ed47 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Wed, 21 Feb 2024 16:20:35 +0000 Subject: [PATCH] Add release note --- .../notes/custom-iterators-dce8557a8f87e8c0.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 releasenotes/notes/custom-iterators-dce8557a8f87e8c0.yaml diff --git a/releasenotes/notes/custom-iterators-dce8557a8f87e8c0.yaml b/releasenotes/notes/custom-iterators-dce8557a8f87e8c0.yaml new file mode 100644 index 000000000..a7954ae2d --- /dev/null +++ b/releasenotes/notes/custom-iterators-dce8557a8f87e8c0.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + Rustworkx functions that return custom iterable objects, such as + :meth:`.PyDiGraph.node_indices`, now have an associated custom iterator object for these. This + provides a speedup of approximately 40% for iterating through the custom iterables. + + These types are not directly nameable or constructable from Python space, and other than the + performance improvement, the behavior should largely not be noticable from Python space.