From 35d9842dd89ad0d5eee57c93048602d57eb829fd Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Mon, 27 Mar 2017 03:09:24 +0000 Subject: [PATCH] Added a TODO list --- Src/Util/GenericValue.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Src/Util/GenericValue.h b/Src/Util/GenericValue.h index f1774bc..a3eeeb2 100644 --- a/Src/Util/GenericValue.h +++ b/Src/Util/GenericValue.h @@ -1,3 +1,14 @@ +/* + * TODO: + * ----- + * - ParseInteger() should be optimized. It is frequently used throughout the + * code base at run-time. + * - Possible optimization: cache last ValueAs conversion. Return this when + * available and when value is Set(), mark dirty. This may require memory + * allocation or, alternatively, we could do this only for data types of size + * <= 8. + */ + #ifndef INCLUDED_UTIL_GENERICVALUE_H #define INCLUDED_UTIL_GENERICVALUE_H