egui/egui_demo_lib
Emil Ernerfeldt 5f88d89f74
Faster galley cache (#699)
* Speed up galley cache by only using the hash as key

This hashes the job but doesn't compare them with Eq,
which speeds up demo_with_tessellate__realistic by 5-6%,
winning back all the performance lost in
https://github.com/emilk/egui/pull/682

* Remove custom Eq/PartialEq code for LayoutJob and friends

* Silence clippy

* Unrelated clippy fixes
2021-09-04 10:19:58 +02:00
..
benches Spelling: tesselate -> tessellate 2021-09-03 21:07:25 +02:00
src Faster galley cache (#699) 2021-09-04 10:19:58 +02:00
Cargo.toml Point crate repository & homepage urls to their subfolders 2021-09-03 21:12:44 +02:00
README.md Point crate repository & homepage urls to their subfolders 2021-09-03 21:12:44 +02:00

egui demo library

Latest version Documentation unsafe forbidden MIT Apache

This crate contains example code for egui.

It is in a separate crate for two reasons:

  • To ensure it only uses the public egui api.
  • To remove the amount of code in egui proper.