Re: blog post about how you can make your gc code faster

2022-11-19 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 9 November 2022 at 11:55:28 UTC, Guillaume Piolat wrote: I've been avoiding void[] for this reason (I mean, void[] _could_ contain pointers), but I think I'm cargo-culting this? If I do: ubyte[] arr = new ubyte[100_000_000]; void[] arr2 = cast(void[]) arr; // will this

Re: blog post about how you can make your gc code faster

2022-11-09 Thread Adam D Ruppe via Digitalmars-d-announce
On Wednesday, 9 November 2022 at 11:55:28 UTC, Guillaume Piolat wrote: I've been avoiding void[] for this reason (I mean, void[] _could_ contain pointers), but I think I'm cargo-culting this? Yeah, it actually doesn't really matter. It is the allocation type that sets the flag. So If I do:

Re: blog post about how you can make your gc code faster

2022-11-09 Thread Guillaume Piolat via Digitalmars-d-announce
On Monday, 7 November 2022 at 14:34:38 UTC, Adam D Ruppe wrote: Putting aside new GC implementation tweaks like I discussed last week, and not just switching to other functions, this week I wanted to lecture a bit about how you can reduce your GC pause times in stock D today:

blog post about how you can make your gc code faster

2022-11-07 Thread Adam D Ruppe via Digitalmars-d-announce
Putting aside new GC implementation tweaks like I discussed last week, and not just switching to other functions, this week I wanted to lecture a bit about how you can reduce your GC pause times in stock D today: http://dpldocs.info/this-week-in-d/Blog.Posted_2022_11_07.html