commit adb08ff93774c81fabb335b3c72e110319e53b5a
parent 5394387cee560ce703cd239d4d30e39e265d9753
Author: Andrew Laack <andrew@laack.co>
Date: Mon, 12 Oct 2026 15:00:56 -0500
Continued taking perf aware notes
Co-authored-by: Vim
Diffstat:
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/docs/JumpTable.md b/docs/JumpTable.md
@@ -0,0 +1,9 @@
+# Jump Table (Branch Table)
+
+**Source:** Performance Aware Programming
+
+**Definition:** A jump table is an ordered collection of pointers to functions or instructions.
+
+In high level languages like C++, a jump table could be a std::vector of function pointers which may be invoked by indexing into the specific function and executing it.
+
+Branch tables are often used by compilers to represent switch statements.
diff --git a/docs/Mov.md b/docs/Mov.md
@@ -1,6 +1,6 @@
# Mov
-**Source:** [https://edge.edx.org/c4x/BITSPilani/EEE231/asset/8086_family_Users_Manual_1_.pdf](https://edge.edx.org/c4x/BITSPilani/EEE231/asset/8086_family_Users_Manual_1_.pdf)
+**Source:** Performance Aware Programming
**Definition:** Mov is an 8086 (and ARM, but implementations vary) instruction for moving data from a source to a destination where the source remains the same.
diff --git a/docs/PerformanceAwareProgramming.md b/docs/PerformanceAwareProgramming.md
@@ -29,3 +29,8 @@
- Haversine distance
- dist on surface of sphere
- [Mov](Mov.md)
+- FunctionLabels
+ - function labels are just syntatic sugar that gets converted to a goto in the binary.
+ - mind blown
+- [Jump Table](JumpTable.md)
+- SingleTranslationUnitBuild