Clean up periodic cleaning and merging of lists. Now we have a list of dirty...
Clean up periodic cleaning and merging of lists. Now we have a list of dirty posting lists, which can be merged periodically. This is a lot better than iterating over the entire hashmap, and finding dirty lists there. Also, allow for clog to be nil, to make loading fast.
Showing
- commit/log.go 4 additions, 17 deletionscommit/log.go
- posting/list.go 26 additions, 14 deletionsposting/list.go
- posting/list_test.go 2 additions, 2 deletionsposting/list_test.go
- posting/lists.go 103 additions, 90 deletionsposting/lists.go
- server/loader/main.go 2 additions, 8 deletionsserver/loader/main.go
- server/main.go 0 additions, 2 deletionsserver/main.go
Loading
Please register or sign in to comment