head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.10 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.8 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.6 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.4 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.2 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.7.0.2 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.6.0.16 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.14 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.12 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.10 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.8 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.6 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.4 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.2 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.5.0.8 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.6 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.4 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.2 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.3.0.4 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.2 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.2.0.22 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.20 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.18 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.16 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.12 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.14 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.10 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.8 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.6 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.4 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.2 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.1.0.4 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.2 pkgsrc-2018Q1-base:1.1; locks; strict; comment @# @; 1.8 date 2025.01.12.12.05.50; author mef; state Exp; branches; next 1.7; commitid QoJClZfITnyIVbFF; 1.7 date 2024.10.19.11.50.27; author mef; state Exp; branches; next 1.6; commitid FJAQaJxZv5xNzguF; 1.6 date 2022.12.18.01.03.47; author mef; state Exp; branches; next 1.5; commitid HvNzYHqgN5aczY5E; 1.5 date 2021.10.26.10.14.01; author nia; state Exp; branches; next 1.4; commitid XMBRkrafc79x2jeD; 1.4 date 2021.10.07.13.38.56; author nia; state Exp; branches; next 1.3; commitid TK9Y8OXA04EYMSbD; 1.3 date 2021.06.06.23.44.37; author mef; state Exp; branches; next 1.2; commitid MuasOnWiWabT58WC; 1.2 date 2018.07.04.08.13.59; author wen; state Exp; branches; next 1.1; commitid eG5HG4zk3Gb9hNIA; 1.1 date 2018.03.06.17.06.28; author minskim; state Exp; branches; next ; commitid c0j3O1DMzC455qtA; desc @@ 1.8 log @(devel/R-bit) Updated 4.5.0 to 4.5.0.1, NEWS not updated @ text @$NetBSD: distinfo,v 1.7 2024/10/19 11:50:27 mef Exp $ BLAKE2s (R/bit_4.5.0.1.tar.gz) = ff2416f2cbf31aa59fbcb71b8c972ea9db6bfc3228c482d2ea5785f96a166e6d SHA512 (R/bit_4.5.0.1.tar.gz) = 8766ba9cee1bef37dcd253665411617985e0f439c9a8c754ff4e0b2350d44bec42e81d0be782ce5cec3f4a079be4cd6e466e993635488bb279dd71a9485c19ae Size (R/bit_4.5.0.1.tar.gz) = 859152 bytes @ 1.7 log @(devel/R-bit) Updated 4.0.5 to 4.5.0 CHANGES IN bit VERSION 4.5.0 USER VISIBLE CHANGES o still.identical now throws an error when called with Strings (and previously threw when called with Lists) Inofficial calls to STRING_PTR and VECTOR_PTR were removed. BUG FIXES o Now works with _R_USE_STRICT_R_HEADERS_=true o Replaced Calloc and Free with R_Calloc and R_Free o Replaced SETLENGTH with Rf_lengthgets @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2022/12/18 01:03:47 mef Exp $ d3 3 a5 3 BLAKE2s (R/bit_4.5.0.tar.gz) = a19a9b8c83206325f31aea19da33815103cabd5fa46a28f568373194a997983f SHA512 (R/bit_4.5.0.tar.gz) = e21ca6d201da992f33ccc103397ba7c2d34db3b42c912e254e2103aedf35ab69c38735357975adeec3538e14226875cc124b98a264dac8fe14f050d8c0eb05b7 Size (R/bit_4.5.0.tar.gz) = 859114 bytes @ 1.6 log @(devel/R-bit) Updated 4.0.4 to 4.0.5 CHANGES IN bit VERSION 4.0.5 BUG FIXES o C functions () without parameters are now declared (void) to avoid prototype warning o getAttrib is now PROTECTed @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2021/10/26 10:14:01 nia Exp $ d3 3 a5 3 BLAKE2s (R/bit_4.0.5.tar.gz) = 3d692f3ba6498d7623044d2cf02096cf379be2e91d8166a32b9dbfb2b06df69d SHA512 (R/bit_4.0.5.tar.gz) = 2510453d05f147e214d89331624e345cb479a39793240d619e05eb07062c99b2634dfd1ba80d986915871e7cb7a32774f62c3e95e5cb82c38e3bbe4d4387620c Size (R/bit_4.0.5.tar.gz) = 827745 bytes @ 1.5 log @archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2021/10/07 13:38:56 nia Exp $ d3 3 a5 3 BLAKE2s (R/bit_4.0.4.tar.gz) = 0647c686104fcc4cdbe032229774fc056ec32accc12c13798565bc157f306114 SHA512 (R/bit_4.0.4.tar.gz) = a570926aaabd2adb21940f310d096c50b21e261a746343fe502cedfb7aa84432037e1b197c41d0a433e15f1baf15af0fad61ba442f1c1fe5688b7c41e08d43af Size (R/bit_4.0.4.tar.gz) = 279723 bytes @ 1.4 log @devel: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2021/06/06 23:44:37 mef Exp $ d3 1 a3 1 RMD160 (R/bit_4.0.4.tar.gz) = 97066223fff1d3042e285f0b5e93ef1582cf4c53 @ 1.3 log @(devel/R-bit) Update 1.1.14 to 4.0.4 CHANGES IN bit VERSION 4.0.4 USER VISIBLE CHANGES o copy() and reverse() have been renamed to copy_vector() and reverse_vector() to avoid naming conflict with data.table CHANGES IN bit VERSION 4.0.3 BUG FIXES o temporarily removed link to clone.ff to satisfy CRAN checks CHANGES IN bit VERSION 4.0.2 USER VISIBLE CHANGES o Vignettes nolonger execute ff code for ff-version prior 4.0.0 BUG FIXES o NA could crash bit_extract_unsorted o now DESCRIPTION URL points to github CHANGES IN bit VERSION 4.0.1 USER VISIBLE CHANGES o bbatch now checks input N >= 0, B > 0 and returns batchsize b in 1..N BUG FIXES o NA could crash bit_extract_unsorted CHANGES IN bit VERSION 4.0.0 NEW FEATURES o new superclass ?booltype now allows proper method dispatch even for two user defined booleans, e.g. (bit | bitwhich) o new ordinal 'booltypes' nobool < logical < bit < bitwhich < which < ri and diagnostic functions booltype() and is.booltype() o bitwhich now has methods for [[ [ [[<- and [<- o new functions 'c', '==', '!=', '|', '&', 'xor' for .booltype o new function bitwhich_representation() to inspect the bitwhich representation without the cost of unclass() o new method 'is' for .which, .ri, .hi (and .booltype) o new coercion generic as.booltype with .default method o new coercion method as.logical.which o new generic as.ri with methods for .ri and .default (lossy) o new methods rep, rev, as.character and str for .bit and .bitwhich o new methods all, any, min, max, range, sum, summary for .booltype, .which o new method anyNA for all booltypes o new dummy method 'is.na' for .bit, .bitwhich o new function in.bitwhich much faster than %in% o new integer sorting function bitsort() using bit_sort() or bit_sort_unique() which can be by an order of magnitude faster than radix sorts or falling back to one of countsort(), quicksort2(), quicksort3() o new symmetric set function symdiff o new functions copy(), reverse() for copying and reversing integer vectors o new helper functions range_na(), range_nanozero(), range_sortna() join multiple tasks in one go o new fast unary functions for integers: bit_unique, bit_duplicated, bit_anyDuplicated, bit_sumDuplicated o new fast binary functions for integers: bit_in, bit_intersect, bit_union, bit_setequal, bit_symdiff, bit_setdiff, bit_rangediff o new fast unary functions for sorted integers: merge_rev, merge_unique, merge_duplicated, merge_anyDuplicated, merge_sumDuplicated, merge_first, merge_last, o new fast binary functions for sorted integers: merge_firstin, merge_firstnotin, merge_lastin, merge_lastnotin, merge_match, merge_in, merge_notin, merge_union, merge_intersect, merge_setdiff, merge_symdiff, merge_setequal o new even faster binary functions when the first argument is a range of integers: merge_rangein, merge_rangenotin, merge_rangesect, merge_rangediff o new function firstNA substantially faster than which.max(is.na(x)) o new function getsetattr() does setattr() but returns the old attr() o new function get_length() directly returns LENGTH(SEXP) circumventing all method dispatch for length() o new methods rlepack.integer, rleunpack.rlepack anyDuplicated.rlepack USER VISIBLE CHANGES o license has been extendend from GPL-2 to GPL-2 | GPL-3 o S3methods are no longer exported in NAMESPACE (except for .booltype) o class bitwhich - now is a fully functional alternative to bit vectors - has argument order changed to (maxindex, x, poslength) - its internal representation of bitwhich(0) has been changed from FALSE to logical() and from unsorted to sorted integers o class 'which' now carries an attribute 'maxindex' if available o as.which() and bitwhich() now filter zeroes and store data unique(sort(x)) o as.which() now has methods for .which, .logical, .integer and .numeric instead of .default. o bit() and bitwhich() now behave more like logical(), without arguments they return objects of length zero o as.bit, as.bitwhich and as.which now have methods for class NULL such that for example as.bit(c()) will return bit(0) (wish of Martijn Schuemle) o binary operators now allow for different lengths and recycle instead of throwing an error o xor.default now keeps the original definition of xor() and uses a new method xor.logical to speed-up logicals o the generics poslength and maxindex have been moved from package ff with methods now for .default, .logical, .bit, .bitwhich, .which, .ri o old method chunk.default has been renamed to chunks and now returns with names (for backward compatibility chunk() with named arguments behaves as before) o new method chunk.default calls chunks() along the length(x) using typeof(x) or vmode(x), this replaces chunk.bit from package ff o clone.default now uses R's C-function duplicate() and clone.list has been removed o intisasc() and intisdesc() have a new argument na.method=c("none","break","skip") to specify tie handling TESTING and DOCUMENTATION o there are much more regression tests now o testing uses package testthat o documentation uses package roxygen2 now o new vignettes bit-demo, bit-usage and bit-performance BUG FIXES o assignment functions '[<-.bit' now behave like '[<-.logical' when it comes to NAs or ZEROs in subscripts o length<-.bit no longer tries to access memory before it is allocated o as.bit.bitwhich now handles non-positive bitwhich correctly o declare as static many functions/variables in bit.c. (Thanks to Brian Ripley) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2018/07/04 08:13:59 wen Exp $ a2 1 SHA1 (R/bit_4.0.4.tar.gz) = 273e549e2ca0619b06650f86cf00f5ece371adf3 @ 1.2 log @Update to 1.1.14 Upstream changes: CHANGES IN bit VERSION 1.1-14 BUG FIXES o bit[i] and bit[i]<-v now check for non-positive integers which prevents a segfault when bit[NA] or bit[NA]<-v CHANGES IN bit VERSION 1.1-13 USER VISIBLE CHANGES o logical NA is now mapped to bit FALSE as in ff booleans o extractor function '[.bit' with positive numeric subscripts (integer, double, bitwhich) now behaves like '[.logical' and returns NA for out-of-bound requests and no element for 0 o extractor function '[[.bit' with positive numeric (integer, double, bitwhich) subscripts now behaves like '[[.logical' and throws an error for out-of-bound requests o extractor function '[.bit' with range index subscripts (ri) subscripts now behaves like '[[.bit' and throws an error for out-of-bound requests o assignment functions '[<-.bit' and '[[<-.bit' with positive numeric (integer, double, bitwhich) subscripts now behave like '[<-.logical' and '[[<-.logical' and silently increase vector length if necessary o assignment function '[<-.bit' with range index subscripts (ri) now behaves like '[[<-.bit' and silently increases vector length if necessary o rlepack() is now a generic with a method for class 'integer' o rleunpack() is now a generic with a method for class 'rlepack' o unique.rlepack() now gives correct results for unordered sequences o anyDuplicated.rlepack() now returns the position of the first duplicate and gives correct results for unordered sequences TUNING o The package can now compiled with 64bit words instead of 32bit words, since we only measured a minor speedup, we left 32bit as the default. BUG FIXES o extractor and assignment functions now check for legal (positive) subscript bounds, hence illegally large subscripts or zero no longer cause memory violations @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2018/03/06 17:06:28 minskim Exp $ d3 4 a6 4 SHA1 (R/bit_1.1-14.tar.gz) = 453ff3bd2adbbf2a426a3007c684433d46eb85ab RMD160 (R/bit_1.1-14.tar.gz) = 935de899df19c04d9ee3e71bcf9b7500560cfb94 SHA512 (R/bit_1.1-14.tar.gz) = b840d1469f5fce1ff8028992c19a4ca9bba9f84d073ccca7fab83fd172adbbe37a75fad23da73ea88c6ca90ba134f280f407ca86664563966d3e30cd6e8ea9e3 Size (R/bit_1.1-14.tar.gz) = 54779 bytes @ 1.1 log @devel/R-bit: Import version 1.1.12 bitmapped vectors of booleans (no NAs), coercion from and to logicals, integers and integer subscripts; fast boolean operators and fast summary statistics. With 'bit' vectors you can store true binary booleans {FALSE,TRUE} at the expense of 1 bit only, on a 32 bit architecture this means factor 32 less RAM and ~ factor 32 more speed on boolean operations. Due to overhead of R calls, actual speed gain depends on the size of the vector: expect gains for vectors of size > 10000 elements. Even for one-time boolean operations it can pay-off to convert to bit, the pay-off is obvious, when such components are used more than once. Reading from and writing to bit is approximately as fast as accessing standard logicals - mostly due to R's time for memory allocation. The package allows to work with pre-allocated memory for return values by calling .Call() directly: when evaluating the speed of C-access with pre-allocated vector memory, coping from bit to logical requires only 70% of the time for copying from logical to logical; and copying from logical to bit comes at a performance penalty of 150%. the package now contains further classes for representing logical selections: 'bitwhich' for very skewed selections and 'ri' for selecting ranges of values for chunked processing. All three index classes can be used for subsetting 'ff' objects (ff-2.1-0 and higher). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2018/01/25 00:19:52 minskim Exp $ d3 4 a6 4 SHA1 (R/bit_1.1-12.tar.gz) = 1558824a8ec06179098cdc5ef69a4f06a852a535 RMD160 (R/bit_1.1-12.tar.gz) = ab0bbd383c9bd1ee5beb8169cfee6c4c1afce937 SHA512 (R/bit_1.1-12.tar.gz) = 635dd28d43fecb3b580155e02430d3c894cb8d443177ad0e7757ad0344f742405dd9d147758eda442ebae3fbf8bfb14c927659d9df417f40979a93d402e9ab99 Size (R/bit_1.1-12.tar.gz) = 53737 bytes @