mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
* Add new `card_rendering` mod
Parses a text with av/tts tags and strips or extracts tags.
* Replace old `extract_av_tags` and `strip_av_tags`
... with new `card_rendering` mod
* ressource -> resource
* Add AV prettifier for use in browser table
* Accept String in av tag routines
... and avoid redundant writes if no changes need to be made.
* add benchmarking with criterion; make links test optional (dae)
cargo install cargo-criterion, then run ./bench.sh
* performance comparison: creating HashMap up front (dae)
the previous solution:
anki_tag_parse time: [1.8401 us 1.8437 us 1.8476 us]
this solution:
anki_tag_parse time: [2.2420 us 2.2447 us 2.2477 us]
change: [+21.477% +21.770% +22.066%] (p = 0.00 < 0.05)
Performance has regressed.
* Revert "performance comparison: creating HashMap up front" (dae)
This reverts commit
|
||
|---|---|---|
| .. | ||
| actions.ftl | ||
| adding.ftl | ||
| browsing.ftl | ||
| card-stats.ftl | ||
| card-template-rendering.ftl | ||
| card-templates.ftl | ||
| change-notetype.ftl | ||
| custom-study.ftl | ||
| database-check.ftl | ||
| deck-config.ftl | ||
| decks.ftl | ||
| editing.ftl | ||
| empty-cards.ftl | ||
| errors.ftl | ||
| exporting.ftl | ||
| fields.ftl | ||
| findreplace.ftl | ||
| importing.ftl | ||
| keyboard.ftl | ||
| media-check.ftl | ||
| media.ftl | ||
| network.ftl | ||
| notetypes.ftl | ||
| preferences.ftl | ||
| profiles.ftl | ||
| scheduling.ftl | ||
| search.ftl | ||
| statistics.ftl | ||
| studying.ftl | ||
| sync.ftl | ||
| undo.ftl | ||