https://github.com/JuliaLang/julia
Revision ed692cd34447b7833dffe3177d42885ce6dfee30 authored by Rafael Fourquet on 11 December 2017, 14:37:21 UTC, committed by Rafael Fourquet on 19 December 2017, 08:45:12 UTC
The 1-based indexing was forcing to promote Int to Int128
in chk_indice & chk_offset, to allow correct computation
with extreme values (e.g. BitSet([typemin(Int)])).
1-based indexing was a left-over from the former BitVector
as underlying implementation.
Switching to 0-based indexing allows both a more-direct mapping
between the model and the implementation, and better
performance.
1 parent cb49741
History
Tip revision: ed692cd34447b7833dffe3177d42885ce6dfee30 authored by Rafael Fourquet on 11 December 2017, 14:37:21 UTC
BitSet: use 0-based bit-indexing
Tip revision: ed692cd
File Mode Size
.circleci
.github
base
contrib
deps
doc
etc
examples
src
stdlib
test
ui
.gitignore -rw-r--r-- 213 bytes
.mailmap -rw-r--r-- 9.5 KB
.travis.yml -rw-r--r-- 6.5 KB
CONTRIBUTING.md -rw-r--r-- 20.4 KB
DISTRIBUTING.md -rw-r--r-- 23.6 KB
HISTORY.md -rw-r--r-- 145.3 KB
LICENSE.md -rw-r--r-- 5.5 KB
Make.inc -rw-r--r-- 35.2 KB
Makefile -rw-r--r-- 26.4 KB
NEWS.md -rw-r--r-- 55.7 KB
README.arm.md -rw-r--r-- 5.7 KB
README.md -rw-r--r-- 28.1 KB
README.windows.md -rw-r--r-- 13.0 KB
VERSION -rw-r--r-- 10 bytes
Windows.inc -rw-r--r-- 1.5 KB
appveyor.yml -rw-r--r-- 2.2 KB

README.md

back to top