Very clever, anyway I put a very high
gc-cons-threshold in my .emacs and I never had big issues.
The reality is emacs is complex but today computers with 8GBs of ram has about 1000x memory of the original emacs target (a machine with 8 MB of RAM) and even faster processors.
Now I am in love with vscode, but I think I need to come back to emacs :) sometimes