{"push_id":2339333637,"size":2,"distinct_size":2,"ref":"refs/heads/nl/String","head":"e491edc66906158d92c25802bf9622374c5bb1b5","before":"369820d9a4c8cefb0ed2860de8568077697a343c","commits":[{"sha":"66784fd0877aed560a5d4d79440896666f119d30","author":{"name":"Milan Bouchet-Valat","email":"16183ca41f4b239e4b9cbc961096fe40ed1388da@club.fr"},"message":"Always resize input to zero length in String(::Vector{UInt8})\n\nThis makes the behavior more predictable than only resizing Vector{UInt8}\ninputs when they have been allocated via StringVector, as the caller may have\nobtained them from other code without knowing how they were created. This ensures\ncode will not rely on the fact that a copy is made in many common cases.\nThe behavior is also simpler to document.","distinct":true,"url":"https://api.github.com/repos/JuliaLang/julia/commits/66784fd0877aed560a5d4d79440896666f119d30"},{"sha":"e491edc66906158d92c25802bf9622374c5bb1b5","author":{"name":"Milan Bouchet-Valat","email":"16183ca41f4b239e4b9cbc961096fe40ed1388da@club.fr"},"message":"Make resize! a no-op when size does not change\n\nElse we set the last element to zero for one-byte element types like UInt8,\nwhich means that resizing a vector allocated with StringVector corrupts it.\nAlso add redundant checks in Julia code to avoid a function call.","distinct":true,"url":"https://api.github.com/repos/JuliaLang/julia/commits/e491edc66906158d92c25802bf9622374c5bb1b5"}]}
{"actor":{"display_login":"nalimilan"}}