Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-09-27

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:33 mizu_no_oto joined #darcs
02:58 IcyFoxy Heffalump: Thanks
10:17 stulli joined #darcs
13:20 IcyFoxy Where does the large file problem occur? If it is in copying over every inverse or commute, could this be solved (or at least improved) by mutating a flag in an existing object (no copies) ?
14:06 IcyFoxy I have read that darcs has been implemented in various other languages. I don't seem to be able to find any such examples. (Also noted that nothing got past the functionality of the initial darcs in haskell)
15:31 Heffalump I'd be surprised if there was anything around that came anywhere close
15:32 Heffalump with large files we just end up copying around a whole bunch of data. I guess in theory we could try to reduce that, but in practice it's relatively hard as you might actually want the old copy.
15:49 IcyFoxy Hmm
15:50 IcyFoxy Heffalump: Another question. Would the be any benefit of inverting at the context level? I.e. Leave the body of the patch as one-way while applying and commuting the patch respects the inverted state.
15:50 IcyFoxy s/respects/reflects/
15:55 IcyFoxy Or even having the patch body be handled by-ref such that the contexts point to the patch they apply. So A A^-1 with a 2MiB patch is 2MiB + tiny context meta.
16:00 IcyFoxy Also, if I'm not mistakened the body of the patch is irrelevant for the commuting and inverting. Only required for whatsnew, annotate, and applying.
16:01 IcyFoxy The effect is all that is needed. I.e. n+m, n-m offsets
16:28 aristid_ joined #darcs
16:47 Riastradh joined #darcs
18:31 Heffalump yes, you can cover for not being able to invert patches by just marking it as inverted, but then you need a merge operation to do some commutes and vice versa. I think in practice you can often get away without it.
18:31 Heffalump IcyFoxy: yes, for hunk commutes you don't need the actual content, just the offsets
18:32 Heffalump there've been some attempts to take advantage of that, I think camp tries to, and possible the V3 prims in the darcs code
19:58 mal`` joined #darcs
21:07 lambdabot joined #darcs
22:15 mizu_no_oto joined #darcs
22:49 mizu_no_oto joined #darcs
23:21 mizu_no_oto joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary