google / codesearch

Fast, indexed regexp search over large file trees
http://swtch.com/~rsc/regexp/regexp4.html
BSD 3-Clause "New" or "Revised" License
3.66k stars 375 forks source link

Error in read.go comments #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/codesearch/source/browse/index/read.go#36

The comment reads : "For example, the delta list [2,5,1,1,0] encodes the file 
ID list 1, 6, 7, 8."

Am I misunderstanding something, or should the delta list read : [1,5,1,1,0] to 
match up to the given file ID list?

Original issue reported on code.google.com by deepak.j...@gmail.com on 26 Apr 2012 at 7:10