Defined two different strategies
This commit is contained in:
parent
9e97aa6a7d
commit
7330e702dd
18
ExaArray/Strategy.cs
Normal file
18
ExaArray/Strategy.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
namespace Exa
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Different strategies for memory vs. performance handling.
|
||||||
|
/// </summary>
|
||||||
|
public enum Strategy
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Maximizes the performance. Thus, only 1.1 quintillion elements can be stored.
|
||||||
|
/// </summary>
|
||||||
|
MAX_PERFORMANCE = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Maximizes the number of available elements. Thus, the full 4.6 quintillion elements are available.
|
||||||
|
/// </summary>
|
||||||
|
MAX_ELEMENTS = 2,
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user