{"push_id":1592622519,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e303240096fec7c5eaddf51eba33aa344d3cef91","before":"b7299f68ede502b0b950fc5b94ee9ff3cba65ed3","commits":[{"sha":"e303240096fec7c5eaddf51eba33aa344d3cef91","author":{"name":"Dipin Hora","email":"272d98517c6454c2143e218df67ce1d444686fc1@gmail.com"},"message":"Change TCPConnection to use vectored i/o functions (#1606)\n\n* Change `cpointer` in `array` and `string` to take offset\r\n\r\nPrior to this change getting an offset for a pointer into an\r\n`array` or a `string` required doing pointer arithmetic after\r\ngeting the pointer to the start. This is problematic because\r\nin most cases we want the pointer to a specific entry in the\r\n`array` or `string`. Doing pointer arithmetic to calculate the\r\npointer to a specific entry is non-trivial because if requires\r\none to know the size of each array entry in order to do the\r\npointer math correctly.\r\n\r\nThis change makes it easy and safe to get the pointer to a\r\nspecific entry by giving an optional `offset` argument to\r\n`cpointer` in `array` and `string` and letting Pony handle\r\nthe appropriate pointer math prior to returning the pointer\r\nto the appropriate element.\r\n\r\n* Change TCPConnection to use vectored i/o functions\r\n\r\nThe motivation behind this is to improve performance of network\r\ni/o operations. Vectored I/O is more efficient because it offloads\r\nthe combining of multiple user buffers into a single buffer for\r\nsending to the network hardware when possible.","distinct":true,"url":"https://api.github.com/repos/ponylang/ponyc/commits/e303240096fec7c5eaddf51eba33aa344d3cef91"}]}
{"actor":{"display_login":"jemc"}}