The post discusses the process of reducing code size in librsvg by removing an unnecessary generic struct. It explains how cargo-bloat can be used to estimate code size, the changes made to the code, and the impact it had on memory usage. The post also mentions the use of generics in code and provides alternative approaches to handle them.

9m read time From viruta.org
Post cover image
Table of contents
The initial codeCode sizeDynamic dispatchHeap usage actually changedWall-clock performanceConclusion

Sort: