Packages

p

org.sackfix.common

objectpool

package objectpool

Type Members

  1. class KeyValPool extends AnyRef

    Created by Jonathan during 2017.

    Created by Jonathan during 2017.

    One of the easy performance issues to solve is the number of immutable tuples that get created. Many of the fields which exist have a small set of values which can be assigned, so, this pool is wierld, it holds immutables and is dynamically created at runtime. As it builds up knowledge of the fix version it will discard those maps which have too many values, and retain maps of values which belong to a constrained set.

  2. class MutableFixTagValuePool extends AnyRef

    While Tuple2 seems obvious for holding Int,String pairs it creates loads of temp objects.

    While Tuple2 seems obvious for holding Int,String pairs it creates loads of temp objects. So this pool serves out reusable objects.

    Because it is used by an Actor, it is NOT with Synchronized.

  3. case class SfTagValue(tag: Int, value: String) extends Product with Serializable

Ungrouped