|
|
|
|
|
by sudara
950 days ago
|
|
Thanks for the proofread! I had so much text juggling between this and the README that it was guaranteed some things would fall through the cracks! I updated the things you mentioned about `stackSum` and thanks for the catch on the `sumIn` definition. > It couldn't provide this if it was moving every value in the queue. I actually don't remember anymore what std::deque does under the hood, I did look into it, but the only thing I remember is that it was quite slow! > You'd have to template the code on `radius` instead of passing it in as a runtime parameter so that the compiler could lower the divisions to bitshifts. Yes, I really like this idea. Especially because radii only really vary between 1-48px for most drop shadow needs. It would be nice to have a handful of the common radii be ripping fast. |
|
* for your purpose! Therein lies the challenge of writing standard libraries... choices must be made.