Pārlūkot izejas kodu

Add control over whether fast integer lookups are created

Hugh Sanderson 15 gadi atpakaļ
vecāks
revīzija
f0ac0041c0

+ 8 - 0
std/cpp/rtti/FieldIntegerLookup.hx

@@ -0,0 +1,8 @@
+package cpp.rtti;
+
+/**
+	If you implement this interface, then the backend will generate code that
+	allows fast dynamic access to fields by integer id.  This should speed up the CFFI.
+**/
+interface FieldIntegerLookup {
+}

+ 8 - 0
std/cpp/rtti/FieldNumericIntegerLookup.hx

@@ -0,0 +1,8 @@
+package cpp.rtti;
+
+/**
+	If you implement this interface, then the backend will generate code that
+	allows fast numeric access to fields by integer id.  This should speed up the CFFI.
+**/
+interface FieldNumericIntegerLookup {
+}