summary refs log tree commit diff stats
path: root/lib/system/sets.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 … ↵Bung2022-12-231-3/+5
| | | | | | | (#21010) * fix #20997 calling system.card[T](x: set[T]) with T of int8 or uint8 uses mismatched C array sizes * fullfil set variant
* close #11330 sets uses optimized countSetBits (#17334)flywind2021-03-221-1/+0
| | | | | | | * Update lib/pure/bitops.nim * Update lib/system/sets.nim * Apply suggestions from code review Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* IC: green tests (#17311)Andreas Rumpf2021-03-191-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * IC: renamed to_packed_ast module to ic module * IC: don't store the --forceBuild flag, makes it easier to test * IC: enable hello world test * Codegen: refactorings for IC; changed the name mangling algorithm * fixed the HCR regressions * life is too short for HCR * tconvexhull is now allowed to use deepCopy * IC exposed a stdlib bug, required a refactoring * codegen: code cleanups * IC: even if a module is outdated, its dependencies might come from disk * IC: progress * IC: better name mangling, module IDs are not stable * IC: another refactoring helping with --ic:on --gc:arc * disable arraymancer on Windows for the time being * disable arraymancer altogether * IC: make basic test work with 'nim cpp' * IC: progress on --ic:on --gc:arc * wip; name mangling for type info
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-231-0/+1
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* more fixes for --cpu:avr [backport] (#12748)Andreas Rumpf2019-11-271-1/+1
|
* [backport] fix #12395 (#12590)Miran2019-11-041-3/+3
| | | | | 'countBits32' is now fixed in the same way that 'countBits64' was already patched earlier (by adding 'u32 where needed).
* use whileBrent Pedersen2019-09-111-4/+5
|
* add amd64Brent Pedersen2019-09-111-1/+1
|
* only do 64bts on x86Brent Pedersen2019-09-111-3/+4
|
* spacingBrent Pedersen2019-09-091-1/+1
|
* count 64 bits at a timeBrent Pedersen2019-09-091-3/+7
|
* code cleanup (#10874)Arne Döring2019-03-281-9/+16
|
* sets: avoid calling countBits32 for 0 (#10619)Brent Pedersen2019-02-131-3/+3
| | | | | | | | | this speeds up the system.sets time from ~0.2 to ~0.06 in release mode. This is still slower than intsets and tables (which both are ~0.01). This assumes that most sets will be sparse. fixes #10617
* removes deprecated T/P typesAraq2018-11-161-1/+0
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* fixes #3135Araq2015-08-021-3/+3
|
* lib/system/g-w - Dropped 'T' from typespdw2015-06-041-2/+3
|
* the big renamefest: first stepsAraq2014-08-221-1/+1
|
* Resolve type mismatches.EXetoC2014-05-131-2/+2
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* added tools and web dirsAndreas Rumpf2009-09-151-72/+12
|
* version0.7.10Andreas Rumpf2009-06-081-0/+88