2026/03/10

Newest at the top

2026-03-10 11:16:53 +0100tromp(~textual@2001:1c00:3487:1b00:5cb9:87bb:7dcb:d170) (Ping timeout: 272 seconds)
2026-03-10 11:16:16 +0100 <probie> Without actually seeing the code, all anyone here can do is guess. If the situation allows it, try a priority queue backed by some kind of mutable STVector, since you'll be able to enqueue/dequeue without allocations (beyond the occasional allocation to resize the backing vector)
2026-03-10 11:11:08 +0100dhil(~dhil@5.151.29.141) dhil
2026-03-10 11:08:01 +0100xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 272 seconds)
2026-03-10 11:06:33 +0100fp1(~Thunderbi@2001:708:20:1406::10c5) (Ping timeout: 248 seconds)
2026-03-10 11:02:26 +0100tromp(~textual@2001:1c00:3487:1b00:5cb9:87bb:7dcb:d170)
2026-03-10 11:00:28 +0100 <Freakie> for me the issue is just having been told multiple times that spending >50% of the runtime on GC suggests that something is wrong with the program ,so I was hoping to have some better way of evaluating that statement
2026-03-10 10:59:38 +0100 <Freakie> otherwise I should be able to take advantage of my data structure to offload a lot of the work to using lists which should prevent a lot of rebalancing (and therefore allocations)
2026-03-10 10:58:42 +0100 <Freakie> but i'm not sure if that's the right track
2026-03-10 10:58:33 +0100 <Freakie> I was considering maybe restructuring my program to reuse the priority queue between different stages of the application so the pointer is kept alive throghout
2026-03-10 10:58:01 +0100 <Freakie> the space cost just seems absurdly high still
2026-03-10 10:56:19 +0100 <probie> Inserting an element is always going to cause an allocation (or more). You can't really avoid that without mutation (or linearity)
2026-03-10 10:54:40 +0100 <Freakie> my fear is that the priority queues just have to handle too much data but on the input sizes I need to handle to the point that rebalancing is infeasible
2026-03-10 10:52:43 +0100 <Freakie> they both seem to have the same allocation rate from what I've been able to gather from experimentation
2026-03-10 10:52:09 +0100 <Freakie> mostly I've just used Data.Set, but I've also played around with MultiSet and the MinQueue from pqueue
2026-03-10 10:51:50 +0100 <Freakie> I've used a typeclass as an abstraction over different implementations
2026-03-10 10:50:52 +0100 <probie> How is the priority queue implemented?
2026-03-10 10:45:31 +0100danza(~danza@user/danza) danza
2026-03-10 10:41:59 +0100danza(~danza@user/danza) (Ping timeout: 245 seconds)
2026-03-10 10:41:31 +0100 <Freakie> over half my runtime is still spent on garbage collecting and further profiling suggests that something like 90% of all of my allocations are spent on updating a priority queue (a lot of elements are inserted). I'm not sure I can do much to help my situation but if anyone could lend some insight again I'd be grateful
2026-03-10 10:39:33 +0100 <Freakie> hi, I was here a few days ago with questions about profiling my program involving BDD algorithms (in case anyone was there and remember)
2026-03-10 10:35:27 +0100arandombit(~arandombi@user/arandombit) (Ping timeout: 268 seconds)
2026-03-10 10:31:23 +0100Freakie(~Freakie@37.96.7.244)
2026-03-10 10:29:53 +0100arandombit(~arandombi@user/arandombit) arandombit
2026-03-10 10:29:53 +0100arandombit(~arandombi@2a02:2455:8656:7100:2149:c35e:cd23:4e9a) (Changing host)
2026-03-10 10:29:53 +0100arandombit(~arandombi@2a02:2455:8656:7100:2149:c35e:cd23:4e9a)
2026-03-10 10:21:30 +0100chele(~chele@user/chele) chele
2026-03-10 10:18:56 +0100chele(~chele@user/chele) (Remote host closed the connection)
2026-03-10 10:16:56 +0100olivial(~benjaminl@user/benjaminl) benjaminl
2026-03-10 10:16:40 +0100olivial(~benjaminl@user/benjaminl) (Read error: Connection reset by peer)
2026-03-10 09:58:59 +0100acidjnk(~acidjnk@p200300d6e700e52576436b4620b4c2a8.dip0.t-ipconnect.de) acidjnk
2026-03-10 09:56:26 +0100merijn(~merijn@77.242.116.146) merijn
2026-03-10 09:52:58 +0100ChaiTRex(~ChaiTRex@user/chaitrex) ChaiTRex
2026-03-10 09:50:30 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection)
2026-03-10 09:47:30 +0100oskarw(~user@user/oskarw) oskarw
2026-03-10 09:44:37 +0100danza(~danza@user/danza) danza
2026-03-10 09:43:51 +0100emmanuelux(~em@user/emmanuelux) (Quit: bye)
2026-03-10 09:38:21 +0100tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2026-03-10 09:31:04 +0100chele(~chele@user/chele) chele
2026-03-10 09:10:09 +0100sord937(~sord937@gateway/tor-sasl/sord937) sord937
2026-03-10 09:09:21 +0100fp1(~Thunderbi@2001:708:20:1406::10c5) fp
2026-03-10 09:07:04 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2026-03-10 09:05:51 +0100srazkvt(~sarah@user/srazkvt) srazkvt
2026-03-10 08:59:53 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-10 08:50:09 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2026-03-10 08:46:15 +0100Axman6(~Axman6@user/axman6) Axman6
2026-03-10 08:45:24 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-10 08:35:10 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2026-03-10 08:31:30 +0100CiaoSen(~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) CiaoSen
2026-03-10 08:29:37 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn