Lumiera  0.pre.03
»edit your freedom«
limits.hpp File Reference

Go to the source code of this file.

Description

hard wired safety limits.

Whenever some task is attempted until success, or in response to external input, an arbitrary fixed constraint is imposed for indexing, counting, searching and similar ordinal operations. These limits are a protection against ordinal and index numbers insanely out-of dimension, like e.g. a symbolic ID with more than 1000 characters. Whenever an actual allocation is based on such ordinal values, a tighter and more specific limitation will be enforced on a case by case base.

See also
symbol-impl.cpp
util::uNum

Definition in file limits.hpp.

Macros

#define LUMIERA_IDSTRING_MAX_RELEVANT   1000
 
#define LUMIERA_MAX_COMPETITION   100
 
#define LUMIERA_MAX_ORDINAL_NUMBER   1000