slint/internal
Milian Wolff 0fc9f3574a Only allocate the BuiltinFunction::ty() return types once
These are known statically, so let's store them once in thread local
statics and return them from there.

Before:
```
  Time (mean ± σ):      1.034 s ±  0.026 s    [User: 0.733 s, System: 0.201 s]
  Range (min … max):    1.000 s …  1.078 s    10 runs

        allocations:            2917476
```

After:
```
  Time (mean ± σ):     996.9 ms ±  17.7 ms    [User: 708.9 ms, System: 202.9 ms]
  Range (min … max):   977.8 ms … 1033.1 ms    10 runs

        allocations:            2686677
```
2024-10-28 09:39:54 +01:00
..
backends Add the accessible-enabled property 2024-10-25 10:20:09 +02:00
common PopupWindow: added close-policy property (#6614) 2024-10-24 09:27:39 +00:00
compiler Only allocate the BuiltinFunction::ty() return types once 2024-10-28 09:39:54 +01:00
core Added rejected to TextInput (#6649) 2024-10-25 17:24:47 +02:00
core-macros Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
interpreter Also wrap langtype::Type::Struct in an Rc 2024-10-28 09:39:54 +01:00
renderers Bump FemtoVG to 0.10.1 release that fixes scissor clip problem 2024-10-24 10:30:12 +02:00