remove redundant keywords in compression dict
This commit is contained in:
parent
69f40ae9fb
commit
4d5d9e65ad
1 changed files with 0 additions and 6 deletions
|
|
@ -20,15 +20,9 @@ var compressionDict = "->" +
|
|||
|
||||
func init() {
|
||||
var common []string
|
||||
for k := range d2graph.StyleKeywords {
|
||||
common = append(common, k)
|
||||
}
|
||||
for k := range d2graph.ReservedKeywords {
|
||||
common = append(common, k)
|
||||
}
|
||||
for k := range d2graph.ReservedKeywordHolders {
|
||||
common = append(common, k)
|
||||
}
|
||||
sort.Strings(common)
|
||||
for _, k := range common {
|
||||
compressionDict += k
|
||||
|
|
|
|||
Loading…
Reference in a new issue