Skip to main content

Module codegen_batch_native

Module codegen_batch_native 

Source
Expand description

Batch classes for Ruby (magnus), Go (cgo) and Java (JNI): the same run and rank as the TS and Python batches in codegen_batch, over items kept in Rust and run on all cores.

Functions§

go_prototypes
C prototypes of the batch functions, for the cgo preamble.
go_rs
The batch functions for lib.rs.
go_wrapper
The Go side: a <Fn>Batch type per batch in the wrapper package.
java_files
The Java classes: (path, source), one <Fn>Batch per batch, beside the original class.
java_rs
The batch functions for lib.rs.
ruby_rs
Batch classes for the magnus extension: (Rust code, init lines).
ruby_wrapper
Ruby classes in the original modules: Textkit::SlugifyBatch.new(texts), then run and rank with the original’s other parameters, defaults and keywords included.