serialized

dotty.tools.dotc.transform.Pickler.serialized
object serialized

Runs given functions with a scratch data block in a serialized fashion (i.e. inside a synchronized block). Scratch data is re-used between calls. Used to conserve on memory usage by avoiding to create scratch data for each pickled unit.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
serialized.type

Members list

Value members

Concrete methods

def run(body: ScratchData => Array[Byte]): Array[Byte]

Concrete fields