mirror of
https://github.com/enso-org/enso.git
synced 2024-12-27 05:34:07 +03:00
6769ab0ee7
This change downgrades hashing algorithm used in caching IR and library bindings to SHA-1. It is sufficient and significantly faster for the purpose of simple checksum we use it for. Additionally, don't calculate the digest for serialized bytes - if we get the expected object type then we are confident about the integrity. Don't initialize Jackson's ObjectMapper for every metadata serialization/de-serialization. Initialization is very costly. Avoid unnecessary conversions between Scala and Java. Those back-and-forth `asScala` and `asJava` are pretty expensive. Finally fix an SBT warning when generating library cache. Closes https://github.com/enso-org/enso/issues/5763 # Important Notes The change cuts roughly 0.8-1s from the overall startup. This change will certainly lead to invalidation of existing caches. It is advised to simply start with a clean slate. |
||
---|---|---|
.. | ||
src/main/scala/licenses | ||
BenchTasks.scala | ||
build.properties | ||
BuildInfo.scala | ||
Cargo.scala | ||
CopyTruffleJAR.scala | ||
CustomLogManager.scala | ||
Distribution.scala | ||
DistributionPackage.scala | ||
Editions.scala | ||
EnvironmentCheck.scala | ||
FrgaalJavaCompiler.scala | ||
GatherLicenses.scala | ||
GenerateFlatbuffers.scala | ||
LauncherShimsForTest.scala | ||
LibraryManifestGenerator.scala | ||
NativeImage.scala | ||
Platform.scala | ||
plugins.sbt | ||
RecompileParser.scala | ||
StdBits.scala | ||
VerifyReflectionSetup.scala | ||
WithDebugCommand.scala |