A faster lexer in Go - Eli Bendersky's website
A faster lexer in Go May 03, 2022 at 19:53 Tags Go , Programming , Compilation It's been a while since I've last rewritten my favorite lexical analyzer :-) That post is the last in a series implementing a lexer for the TableGen language in a variety of programming languages, using multiple technique...
Hasnain says:
Great read on profiling and improving Go programs.
“This post discussed some potential optimizations to a lexical scanner written in Go. It touched upon the relative efficiency of converting byte slices to strings vs. taking substrings, discussed some strategies w.r.t. API design in Go, and even got into optimizing GC behavior.”
Posted on 2022-05-07T11:21:38+0000