mirror of
https://github.com/enso-org/enso.git
synced 2024-11-24 00:27:16 +03:00
ecd1fdc3f8
Computing length of a text takes time. Let's cache it after first computation. # Important Notes Wrote `StringBenchmarks` that sums lengths of (the same) `Text` present many time in a `Vector`. Initially it took `383.673 ms` per operation. Then it took `0.031 ms/op`. Looks like the `length` calls are returning instantly as they get cached. |
||
---|---|---|
.. | ||
Standard |