IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

Table

struct Table

A wave's walk over its items, with the chunk table entry of its next item in flight: fetch uses it when the tags match, then prefetches the following one.

Fields​

  • ​info (GPtr[Int32]):
  • ​slots (Int):
  • ​heads (Int):
  • ​hpg (Int):
  • ​halves (Int):
  • ​next_start (Int32):
  • ​next_len (Int32):
  • ​next_tag (Int): The prefetched item plus 1; 0 for none.

Implemented traits​

AnyType, Deinitable, Movable

Methods​

__init__​

def __init__(out self, p: SsdMi355Params, halves: Int)

items​

def items(self, batch: Int) -> Int

This workgroup's trips over the used slots' items.

Returns:

Int

decode​

def decode(self, item: Int, start: Int, n: Int) -> Item

Returns:

Item

fetch​

def fetch(mut self, item: Int) -> Item

Returns:

Item

Was this page helpful?