Skip to content

perf: Some performance improvements#816

Merged
johannes-wolf merged 1 commit intopath-to-curvefrom
perf-improvements-matrix-vector
Feb 21, 2025
Merged

perf: Some performance improvements#816
johannes-wolf merged 1 commit intopath-to-curvefrom
perf-improvements-matrix-vector

Conversation

@johannes-wolf
Copy link
Copy Markdown
Member

Gives ~2 seconds when running tests.

@johannes-wolf johannes-wolf added this to the 0.4.0 milestone Feb 17, 2025
src/canvas.typ Outdated
((1, 0,-.5, 0),
(0,-1,+.5, 0),
(0, 0, .0, 0),
(0, 0, 1, 0),
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk why there was a zero. And the inverse function should normally fail to compute an inverse of that matrix.

@johannes-wolf johannes-wolf force-pushed the perf-improvements-matrix-vector branch 2 times, most recently from df3935a to 66a9009 Compare February 17, 2025 01:11
@johannes-wolf johannes-wolf changed the base branch from master to path-to-curve February 17, 2025 01:12
Gives ~2 seconds when running tests.
@johannes-wolf johannes-wolf force-pushed the perf-improvements-matrix-vector branch from 66a9009 to 946a81c Compare February 17, 2025 01:15
@johannes-wolf johannes-wolf merged commit eb91007 into path-to-curve Feb 21, 2025
1 check passed
@johannes-wolf johannes-wolf deleted the perf-improvements-matrix-vector branch February 21, 2025 01:05
johannes-wolf added a commit that referenced this pull request Feb 24, 2025
* canvas: Use new curve API

* typst: Bump to 0.13.0-rc1

* tests: Fix tests & update refs

* perf: Some performance improvements (#816)

Gives ~2 seconds when running tests.

* ci: Use typst 0.13.0

* add content auto-scale note for scale (#819)

* changelog: Update changelog

---------

Co-authored-by: JL710 <76447362+JL710@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant