ringabout
09109c55c9
clean up gc:arc or gc:orc in docs and in error messages ( #22408 )
...
* clean up gc:arc/orc in docs
* in error messages
(cherry picked from commit 10a6e4c236 )
2024-04-17 10:54:56 +02:00
Andreas Rumpf
8c3b0e9b48
added new experimental API isUniqueRef ( #21812 )
...
* added new experimental API isUniqueRef
* typo
2023-06-16 19:35:16 +02:00
ringabout
1133f20fe2
lift the =dup hook ( #21903 )
...
* fixes tests again
* remove helper functions
* fixes closures, owned refs
* final cleanup
2023-06-02 16:03:32 +02:00
metagn
5592d1ef2c
fix nimrtl and nimhcr on arc/orc ( #21814 )
...
* fix/workaround for nimrtl and nimhcr on arc/orc
fixes #21803
* try fix clang, debug linux failure
* just make duplicated procs not rtl
* actual fix for duplicated procs
2023-05-09 20:34:39 +02:00
ringabout
4533e894ad
adds an experimental mm:atomicArc switch ( #21798 )
2023-05-08 16:25:47 +02:00
ringabout
b562e1e6d8
implement =dup hook eliminating wasMoved and =copy pairs ( #21586 )
...
* import `=dup` hook eliminating `wasMoved` and `=copy` pairs
* add dup
* add a test for dup
* fixes documentation
* fixes signature
* resolve comments
* fixes tests
* fixes tests
* clean up
2023-05-06 21:36:57 +02:00
ringabout
d8d08324d3
clean up system/arc ( #20792 )
2022-11-09 06:13:52 +01:00
ringabout
7d15fdd375
implements display based subtype checking (6.4x faster without threads; 2.8x faster with threads) ( #20781 )
...
* WIP: fast 'of' operator based on the literature
* implement display based subtype checking
Co-authored-by: Araq <rumpf_a@web.de >
2022-11-08 13:08:01 +01:00
ringabout
d5cc2085ea
ref #20694 ; quit value gets saturated to ranges ( #20753 )
...
* quit value gets saturated to ranges
* add documentation
* minimal changes
* refactor
* small fix
* add documentation
* fixes
* Update lib/system.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2022-11-05 10:58:57 +01:00
ringabout
80a0dc295b
update the docs of arc following up #19749 ( #19752 )
...
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
2022-08-08 16:56:37 +08:00
flywind
8bfc396a4d
fixes #18612 ; apply cache and memcmp for methods in arc/orc ( #19749 )
...
* try using endsWith
* use memcmp
* add cache
* cleanup
* better
* minor
* fix
* improve test coverage for methods with ARC
2022-04-26 20:14:39 +02:00
Andreas Rumpf
6dc34757b6
fixes #18579 ( #18600 )
2021-07-27 14:32:56 +02:00
Danil Yarantsev
ac8166ab3d
Replace double backticks with single backticks - Part 1 out of ~6 ( #17205 )
2021-02-28 23:08:12 -08:00
Andreas Rumpf
e463a67c74
don't introduce 'dispose', use '=dispose', fixes #17003 [backport:1.4] ( #17062 )
2021-02-17 00:07:37 +01:00
Andreas Rumpf
b9eb91cbb5
ORC: prepare for another patent-pending optimization ( #15996 )
...
* ORC: prepare for another patent-pending optimization
* bugfix
* '=copy' for refs can take a cyclic parameter for more ORC optimizations
* ORC: exploit the common 'it = it.next' pattern
* can't hurt to check for nil
* use an algorithm that is not obviously broken
* restore the test case
* final cleanups for --gc:orc
2020-11-18 22:31:06 +01:00
Antonis Geralis
94e2b9e837
Make newObjUninit proc to adhere to its name ( #15764 )
...
Co-authored-by: b3liever <b3liever@yandex.com >
2020-10-28 17:54:42 +01:00
cooldome
0956a99537
ARC now capable of custom extra alignment. Ref, closure and seq support. ( #15697 )
2020-10-28 14:00:49 +01:00
cooldome
833035bacd
arc allocation method aligned ( #15588 )
...
* progress
* fix typo
2020-10-19 14:50:06 +02:00
Andreas Rumpf
644eb4dd54
ORC: critical bugfix for the cycle analyser, introduce -d:nimStressOrc for easier stress testing ( #15572 )
2020-10-14 22:26:21 +02:00
Andreas Rumpf
9a34009f00
ORC and stdlib optimizations ( #15362 )
2020-09-19 00:27:43 +02:00
Andreas Rumpf
d19316bbb9
more ORC bugfixes ( #15355 )
...
* introduced --define:nimArcIds
* ORC: bugfixes
2020-09-18 11:55:58 +02:00
Andreas Rumpf
fd31e8ff6f
allow old styled RTTI for arc/orc ( #15331 )
2020-09-16 14:57:01 +02:00
Araq
947ecd1257
more renamings
2020-07-27 13:07:09 +02:00