From 9a709b62bf0841153a1c1e5510c2142f2d9eca9f Mon Sep 17 00:00:00 2001 From: Sebastian Bittrich Date: Wed, 12 Jul 2023 16:06:41 -0700 Subject: [PATCH] back to parallel, update counts --- README.md | 6 +++--- src/main/java/org/rcsb/stats/Helpers.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2c2a3ab..da4dcde 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Shared code to compute archive-wide statistics like the number of non-hydrogen a # Statistics | Task | Description | Count | | --- | --- | --- | -| Task01 | Count Heavy Atoms | 1,874,388,211 | +| Task01 | Count Heavy Atoms | 1,921,826,948 | -Last updated: 05/12/23 -Number of structures: 204,602 \ No newline at end of file +Last updated: 07/12/23 +Number of structures: 207,338 \ No newline at end of file diff --git a/src/main/java/org/rcsb/stats/Helpers.java b/src/main/java/org/rcsb/stats/Helpers.java index 8a64448..b47f8dc 100644 --- a/src/main/java/org/rcsb/stats/Helpers.java +++ b/src/main/java/org/rcsb/stats/Helpers.java @@ -38,7 +38,7 @@ public class Helpers { * @return stream of structure data */ public static Stream fetchStructureData(Collection identifiers) { - return identifiers.stream() + return identifiers.parallelStream() .map(Helpers::fetchStructureData); }