{"thread":{"id":"58067","subject":"[GSoC] Abhradeep's GSoC blogs (27 Jun, 2022 IST)","startedAt":"2022-06-27T12:45:33Z","lastAt":"2022-06-29T20:58:39Z","messageCount":2,"participants":["Abhradeep Chakraborty","Taylor Blau"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"457903","messageId":"20220627124408.15611-1-chakrabortyabhradeep79@gmail.com","threadId":"58067","inReplyTo":null,"subject":"[GSoC] Abhradeep's GSoC blogs (27 Jun, 2022 IST)","fromName":"Abhradeep Chakraborty","fromEmail":"chakrabortyabhradeep79@gmail.com","sentAt":"2022-06-27T12:44:08Z","receivedAt":"2022-06-27T12:45:33Z","isPatch":false,"sender":{"key":"chakrabortyabhradeep79@gmail.com","avatar":"https://avatars.githubusercontent.com/u/75240995?v=4"},"body":"Hello developers, this is the thread where you can know about\nmy weekly GSoC blog links.\n\nMy Project - Reachability bitmap improvements\n\nBlog update\n------------\n\nTitle - GSoC Week 2: redesign the table format\nBlog link - https://medium.com/@abhra303/gsoc-week-2-redesign-the-table-format-829dae755a5\n\nSummary - \n\nIn the last week, I worked on the reviews. Some major requested\nchanges are (1) Use commit positions instead of commit oids in\nthe table. (2) Use 8 byte offset positions instead of 4 bytes\n(3) use iterative approach for parsing xor bitmaps (4) Use\n`<commit_pos, offset, xor_pos>` triplets.\n\nWhile implementing these changes, I discovered some bugs in the\nprevious version. I faced errors during this time. But finally\nmanaged to fixed those errors. Taylor helped me to get rid of\nsome errors.\n\nI think that we can optimise the parsing of xor bitmaps further\nby stopping stack filling loop when we get an already parsed\nbitmap since we know that bitmaps having xor relations with it\nhas already been stored/parsed.\n\n\nPrevious blogs \n---------------\n\n------------------------------------------------------- \nTitle - GSoC Week 1: Let's Get started\nBlog link - https://medium.com/@abhra303/gsoc-week-1-lets-get-started-fad78ec34dcf\n\nSummary -\n\nThis is the first blog that I wrote for GSoC. Taylor\nsuggested that I should work on \"integrating a lookup table\nextension\" first as it is smaller compared to other sub-projects.\n\nThe idea is to have a table at the end of .bitmap file which\nwill contain the offsets (and xor-offsets) of the bitmaps of\nselected commits. Whenever git try to get the bitmap of a\nparticular commit, instead of loading each bitmaps one by one,\ngit will parse only the desired bitmap by using the offset and\nxor-offset of the table. This will reduce the overhead of\nloading each and every bitmap.\n-------------------------------------------------------\n"},{"id":"458133","messageId":"Yry89ZO0ipfafC8C@nand.local","threadId":"58067","inReplyTo":"20220627124408.15611-1-chakrabortyabhradeep79@gmail.com","subject":"Re: [GSoC] Abhradeep's GSoC blogs (27 Jun, 2022 IST)","fromName":"Taylor Blau","fromEmail":"me@ttaylorr.com","sentAt":"2022-06-29T20:58:29Z","receivedAt":"2022-06-29T20:58:39Z","isPatch":false,"sender":{"key":"me@ttaylorr.com","avatar":"https://avatars.githubusercontent.com/u/301000140?v=4"},"body":"Hi Abhradeep,\n\nOn Mon, Jun 27, 2022 at 06:14:08PM +0530, Abhradeep Chakraborty wrote:\n> Blog update\n> ------------\n>\n> Title - GSoC Week 2: redesign the table format\n> Blog link - https://medium.com/@abhra303/gsoc-week-2-redesign-the-table-format-829dae755a5\n\nAs usual, another great blog post! I think you did a nice job\nsummarizing the main discussion from reviewing the first round of your\npatches.\n\nYou're exercising a good skill here, which is taking a big pile of\nemails and figuring out what the main areas are that you need to\nprioritize. That can be tricky, sometimes, since different reviewers\nwill tend to focus on different things, and may not even agree with each\nother!\n\nBut I think you did a nice job teasing everything apart, and the v2 that\nI've looked at already is a nice reflection of your work there.\n\nI am glad that your work updating the series to the new format proved to\nbe an interesting challenge. I'm really happy with the result, so it was\ndefinitely time well spent!\n\n(One thing to keep in mind regarding the bug you fixed in `store_bitmap`\nwould be to ask why we weren't able to see that bug in CI. Assuming that\nyou encountered some other way, we should turn that into a test and make\nsure that we don't regress there in the future).\n\nFinally, your next steps sound interesting, and I'm looking forward to\nseeing what you come up with! In the meantime, keep up the great work\n:-).\n\nThanks,\nTaylor\n"}]}