@@ -9,13 +9,10 @@ // The second priority is performance. The current version uses bufio.Reader and // ReadBytes. Performance can be optimized further by using lower level I/O // primitives and allocating less. That can be explored later. A lot of the time // is spent on reading the entire file without being able to stop early, // since the specification allows the comment to appear anywhere in the file. // // The exact API is undecided and can change. The current API style is somewhat // based on go/parser, but that may not be the best approach. package generated import ( "bufio" "bytes"