treeform / pixie

Full-featured 2d graphics library for Nim.
MIT License
742 stars 28 forks source link

Add sink annotations and use an openarray instead of seq to reduce co… #511

Closed beef331 closed 1 year ago

beef331 commented 1 year ago

…pying and allocations

treeform commented 1 year ago

Thank you for the PR. This is a great improvement. String copies are the killer of performance!

guzba commented 1 year ago

This in in release 5.0.2 https://github.com/treeform/pixie/releases/tag/5.0.2