I optimized both by properly using the DataView API and reducing unnecessary variables!!
It’s slightly slower due to BigInt implementation, but I’ve managed to get something working.
Still, it’s faster than the reference implementation!!
Well, maybe returning BigInt instead of converting to number or string might be problematic though…
Implementing the hash algorithm was challenging for the first time.
I think I could implement it much faster for 64-bit systems.
I added more fine-grained key bindings and improved the UX. However, when I tried enabling the setting to make Mac’s Ctrl key behave like Command, it conflicted with terminal shortcuts and ended up being more annoying than helpful :)
Tomorrow, I plan to focus on performance optimization and code refactoring.
The Config system is complete!!
It’s highly extensible and lightweight thanks to Zero Deps libraries!!
Well, it’s fine, isn’t it?
We’ll need to come up with our own respected design.
Features like string highlighting and Japanese input support proved particularly challenging to implement for input processing.
I’ve got the initial stages working, but it’s tricky.
Next, I’ll need to implement support for loading configurations and such.
Reduced the number of stdout outputs in the CGI Adapter for performance optimization.
↓ See? It’s now stored in an array and printed out all at once.
Added initial support for FastCGI.