Loong
Loong
This PR creates a new type `SubCartesianIndices` for `unsafe_get_collection(::CartesianIndices, ind)` to avoid allocating a new array. And a `SubCartesianIndices` can also be an index like `CartesianIndices`. This PR creates a...
This PR creates a new type `NDIndices` as a replacement of `CartesianIndices`, whose element type is `NDIndex` instead of a `CartesianIndex` to persevere StaticInt when possible. Besides, `getindex` for this...
## Description Change some link from `raw.githubusercontent.com/zdharma` to `raw.githubusercontent.com/zdharma-continuum`. ## Motivation and Context Links to `raw.githubusercontent.com/zdharma` is broken, replace those links should fix figures in documents. ## Related Issue(s) ##...
Currently, the popupmenu position of `cmp` is not aligned with input of smart-cmdline, because of its offset. Adjust the screen cursor position with offset should fix it. I try to...
Set `filetype` for REPL buffer will be helpful for being detected by iron and other plugins. For example, toggle REPL with `IronRepl` will cause an error at REPL buffer. Thus,...
Fix #40
应该指向 https://doc.rust-lang.org/reference/subtyping.html#variance https://github.com/rust-lang-cn/nomicon-zh-Hans/blob/45ef9f63f384b869cddfde68fa5803b3af1e5349/src/subtyping.md?plain=1#L147-L149
当前不同语言的文档都是使用其对应语言命名,这导致想要找到同一份文档的另一个语言版本十分困难。因此我提议将所有的文档都用英文命名,确保同一文档不同语言版本共享同一名称,以便于快速识别和定位。这样可以方便维护,也方便可能的机器翻译。 此外,我提议将所有的简体中文文档也放在 `zh-CN` 子文件夹中以保持和其他语言文档的一致性。 相关 issue: #7524, #8734
I tried to compare the performance of indexing : ```julia function benchindexing(a, not) print("indexing by `!in(not)`: ") @btime $a[map(!in($not), axes($a, 1))] print("indexing by `!in(Set(not))`:") @btime $a[map(!in(Set($not)), axes($a, 1))] print("indexing by...
TBD: Output format.