code: def pickle_bytelist(obj: object) -> list[bytes | memoryview]:
      """Variant of :func:`serialize_bytelist`, that doesn't support compression, locally
      defined classes, or any of its other fancy features but runs 10x faster for numpy
      arrays
  
      See Also
      --------
      serialize_bytelist
      unpickle_bytestream
      """
      frames: list = []
      pik = pickle.dumps(
          obj,
          protocol=5,
          buffer_callback=lambda pb: frames.append(pb.raw()),
      )
      frames.insert(0, pik)
      frames.insert(0, pack_frames_prelude(frames))
      return frames
  
imports: from __future__ import annotations
  import pickle
  from collections.abc import Iterator
  from typing import Any
  from distributed.protocol.utils import pack_frames_prelude, unpack_frames
label_desc: Use image node_id 1 for calling a global function with example usage: pickle_bytelist(obj) and returns: frames