diff options
| author | gingerBill <bill@gingerbill.org> | 2022-12-22 12:02:14 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-12-22 12:02:14 +0000 |
| commit | c53b2198a86fff66225a53f22693d9b3bf6c28e5 (patch) | |
| tree | e2560d2265909eb7e9fc39599aad9ada63619216 /src/parser.hpp | |
| parent | 9b278db9934913367a8e186b9c6aa9c03017f3d4 (diff) | |
Add minor comment
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index 7d292ffce..df882cc0f 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -754,7 +754,7 @@ struct AstCommonStuff { u8 state_flags; u8 viral_state_flags; i32 file_id; - TypeAndValue tav; // TODO(bill): Make this a pointer to minimize 'Ast' size + TypeAndValue tav; // NOTE(bill): Making this a pointer is slower }; struct Ast { @@ -762,7 +762,7 @@ struct Ast { u8 state_flags; u8 viral_state_flags; i32 file_id; - TypeAndValue tav; // TODO(bill): Make this a pointer to minimize 'Ast' size + TypeAndValue tav; // NOTE(bill): Making this a pointer is slower // IMPORTANT NOTE(bill): This must be at the end since the AST is allocated to be size of the variant union { |