From 7330e702dd0f8f2eeceb4c52295fc3ce58a68dd9 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Wed, 29 Jul 2020 19:02:06 +0200 Subject: [PATCH] Defined two different strategies --- ExaArray/Strategy.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ExaArray/Strategy.cs diff --git a/ExaArray/Strategy.cs b/ExaArray/Strategy.cs new file mode 100644 index 0000000..15f7b86 --- /dev/null +++ b/ExaArray/Strategy.cs @@ -0,0 +1,18 @@ +namespace Exa +{ + /// + /// Different strategies for memory vs. performance handling. + /// + public enum Strategy + { + /// + /// Maximizes the performance. Thus, only 1.1 quintillion elements can be stored. + /// + MAX_PERFORMANCE = 1, + + /// + /// Maximizes the number of available elements. Thus, the full 4.6 quintillion elements are available. + /// + MAX_ELEMENTS = 2, + } +} \ No newline at end of file