Skip to content

Commit

Permalink
change charmat
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-yong-zhi committed Nov 8, 2021
1 parent ee65cca commit 65dd7e8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
64 changes: 32 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ Benchmark: [benchmark](https://github.com/guo-yong-zhi/WordCloud/blob/master/exa
***
```
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▢▢▢▢▢▢▢▢▢▢▢▢▢▢▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▩▥▢▥▥▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▥▥▥▥▩▩▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▥▥▩▩▩▥▥▥▥▩▩▩▩▩▩
▩▩▩▩▩▥▥▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▩▥▩▩▩▥▢▥▥▥▩▩▩▩▩
▩▩▩▩▥▥▢▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▩▥▩▩▩▥▢▥▥▥▥▩▩▩▩
▩▩▩▥▥▢▢▢▥▩▩▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▥▩▥▩▩▩▥▢▥▥▢▥▥▩▩▩
▩▩▥▥▥▥▥▥▥▩▩▥▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▩▩▩▥▢▥▥▢▢▥▥▩▩
▩▩▥▥▥▩▩▩▩▩▩▥▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▢▩▥▥▩▥▩▩▥▩▩▩▢▢▢▢▢▢▩▩
▥▥▥▥▩▩▩▩▩▩▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▢▥▥▥▩▥▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥
▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩
▥▥▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▥▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▥▥▥▩▩▩▩▩▩▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▩▩▥▩▩▩▩▩▩▥▢▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▩▩▥▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▥▥▥▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▢▢▥▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▥▥▢▥▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥
▩▩▥▢▥▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▥▢▢▥▩▩
▩▩▥▥▥▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▥▢▥▩▩▩
▩▩▩▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▥▥▥▩▩▩
▩▩▩▩▥▥▢▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▩▩▩▩
▩▩▩▩▩▥▥▢▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▩▩▩▩▩▩▩▩▩▩▥▩▥▥▥▩▩▩▩▩
▩▩▩▩▩▩▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▩▩▥▢▥▩▥▢▢▥▥▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▩▩▥▢▥▩▥▥▥▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▢▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▥▥▥▥▥▥▥▥▥▥▥▥▥▥▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▢▢▢▢▢▢▢▢▢▢▢▢▢▢▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▩▨▢▨▨▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▨▨▨▨▩▩▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▨▨▩▩▩▨▨▨▨▩▩▩▩▩▩
▩▩▩▩▩▨▨▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▩▨▩▩▩▨▢▨▨▨▩▩▩▩▩
▩▩▩▩▨▨▢▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▩▨▩▩▩▨▢▨▨▨▨▩▩▩▩
▩▩▩▨▨▢▢▢▨▩▩▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▨▩▨▩▩▩▨▢▨▨▢▨▨▩▩▩
▩▩▨▨▨▨▨▨▨▩▩▨▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▩▩▩▨▢▨▨▢▢▨▨▩▩
▩▩▨▨▨▩▩▩▩▩▩▨▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▢▩▨▨▩▨▩▩▨▩▩▩▢▢▢▢▢▢▩▩
▨▨▨▨▩▩▩▩▩▩▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▢▨▨▨▩▨▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨
▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩
▨▨▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▨▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▨▨▨▩▩▩▩▩▩▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▩▩▨▩▩▩▩▩▩▨▢▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▩▩▨▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▨▨▨▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▢▢▨▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▨▨▢▨▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨
▩▩▨▢▨▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▨▢▢▨▩▩
▩▩▨▨▨▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▨▢▨▩▩▩
▩▩▩▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▨▨▨▩▩▩
▩▩▩▩▨▨▢▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▩▩▩▩
▩▩▩▩▩▨▨▢▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▩▩▩▩▩▩▩▩▩▩▨▩▨▨▨▩▩▩▩▩
▩▩▩▩▩▩▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▩▩▨▢▨▩▨▢▢▨▨▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▩▩▨▢▨▩▨▨▨▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▢▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▨▨▨▨▨▨▨▨▨▨▨▨▨▨▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
```
2 changes: 1 addition & 1 deletion src/qtrees.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function charmat(mat; maxlen=49)
half = maxlen ÷ 2
maxlen = half * 2 + 1
if m <= maxlen && n <= maxlen
return map(x -> 0 < x < 4 ? ("", "", "")[x] : "", mat)
return map(x -> 0 < x < 4 ? ("", "", "")[x] : "", mat)
elseif m > maxlen
return vcat(charmat(@view(mat[1:half, :]), maxlen=maxlen),
reshape(repeat([""], min(maxlen, n)), 1, min(maxlen, n)),
Expand Down

2 comments on commit 65dd7e8

@guo-yong-zhi
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/48378

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.0 -m "<description of version>" 65dd7e861996500e2f3496ed9a598c88719d5fdf
git push origin v0.5.0

Please sign in to comment.