pipe_words_to_memory

Function pipe_words_to_memory 

Source
pub fn pipe_words_to_memory(num_words: Felt) -> (Word, Vec<Felt>)
Expand description

Reads an arbitrary number of words num_words from the advice stack and returns them along with sequantial RPO hash of all read words.

Cycles:

  • Even num_words: 48 + 9 * num_words / 2
  • Odd num_words: 65 + 9 * round_down(num_words / 2)