1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Faster versioning

This commit is contained in:
Zack Scholl 2016-02-10 15:41:24 -05:00
parent 011bbba9eb
commit c8d3eb96fb

View File

@ -114,7 +114,7 @@ func timeTrack(start time.Time, name string) {
}
func getImportantVersions(p WikiData) []versionsInfo {
defer timeTrack(time.Now(), "getImportantVersions")
// defer timeTrack(time.Now(), "getImportantVersions")
m := map[int]int{}
lastTime := time.Now().AddDate(0, -1, 0)
for i, _ := range p.Diffs {