mirror of
https://github.com/enso-org/enso.git
synced 2024-11-27 06:32:30 +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. |
||
---|---|---|
.. | ||
base/src/main/java/org/enso/base | ||
database/src/main/java/org/enso/database | ||
google-api | ||
image/src/main/java/org/enso/image | ||
table/src/main |