- 11 Apr, 2012 5 commits
-
-
Georg Brandl authored
-
Senthil Kumaran authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Brett Cannon authored
end with ">", i.e. follow convention.
-
- 10 Apr, 2012 21 commits
-
-
Stefan Krah authored
Resizing is used _inside_ libmpdec functions, and it is permitted to change x->alloc several times while setting x->len at the end of the function. Therefore, for dynamic mpd_t x->alloc can _temporarily_ drop below x->len. Of course the final result always has x->len <= x->alloc. For static mpd_t this cannot happen, since resizing to a smaller coefficient is a no-op. 2) Remove micro optimization in mpd_switch_to_dyn(): Previously only the valid initialized part of the existing coefficient up to x->len was copied to the new dynamic memory area. Now copying does the same as realloc() and the entire old memory area is copied. The rationale for this change is that it is no longer needed to memorize the explanation given in 1).
-
Stefan Krah authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Stefan Krah authored
-
Senthil Kumaran authored
-
Senthil Kumaran authored
-
- 09 Apr, 2012 14 commits
-
-
Stefan Krah authored
-
Stefan Krah authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Stefan Krah authored
MPD_MINALLOC. Previously the resize was skipped as a micro optimization.
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Stefan Krah authored
-
Stefan Krah authored
locality for regularly sized coefficients.
-
Stefan Krah authored
-