import swaydb._ //swaydb's APIs
import swaydb.serializers.Default._ //default serialisers
val map = memory.Map[Int, String, Nothing, Bag.Less]().get //create a memory map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JSGlobal | |
@js.native | |
object Highcharts extends js.Object { | |
def chart(id: String, data: js.Object): js.Any = scalajs.js.native | |
} | |
//See - https://www.highcharts.com/docs/getting-started/your-first-chart | |
Highcharts.chart( | |
id = "chart", | |
data = |
val map = persistent.Map[Int, String, Nothing, Bag.Less](dir = "target/myMap").get
import swaydb._
import swaydb.serializers.Default._
val sortedKeyIndex =
SortedKeyIndex.Enable(
prefixCompression = PrefixCompression.Disable(normaliseIndexForBinarySearch = true),
enablePositionIndex = true,
ioStrategy = IOStrategy.concurrentStored,
compressions = _ => Seq.empty
OlderNewer