summaryrefslogtreecommitdiff
path: root/src/bundles-containers.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundles-containers.ads')
-rw-r--r--src/bundles-containers.ads10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bundles-containers.ads b/src/bundles-containers.ads
index 8caf263..1361026 100644
--- a/src/bundles-containers.ads
+++ b/src/bundles-containers.ads
@@ -8,6 +8,7 @@ with
generic
Min_Valid : Candidates.CandidateID;
Max_Valid : Candidates.CandidateID;
+ Num_Threads : Positive := 2;
package Bundles.Containers is
@@ -26,6 +27,15 @@ package Bundles.Containers is
Result : out Bundle_Collection);
+ -- Current implementation slightly faster, but not worth it.
+ -- Probably needs to be reworked to read in the entire file at once for decent
+ -- increase in speed, but that would involve approx doubling memory usage,
+ -- which is unacceptable.
+ procedure Read_Bundles_Threaded
+ (Filename : in String;
+ Result : out Bundle_Collection);
+
+
end Bundles.Containers;