Files
kotlin-fork/libraries/stdlib
Laszlo Hornyak 6fda0816f3 buildString with initial capacity for the StringBuilder instance
this method helps save computation time when the developer knows or have a good
educated guess about the size of the generated string and have to use control
structures while filling the string builder

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2016-08-10 18:23:32 +03:00
..

The Kotlin Standard Library

This module creates the standard library for kotlin.

Notes for contributors

We use some code generation to apply the various collection-like methods to various different types like arrays, strings, kotlin.Iterable and java.lang.Iterable etc.

To run the code generator from a kotlin checkout

cd libraries/tools/kotlin-stdlib-gen
mvn compile exec:java

This then runs the GenerateStandardLib.kt script to create the source from the files for java.lang.Iterable and java.util.Collection etc.