Project

General

Profile

Actions

Feature #473

closed

Network protocol: 8bit and 16bit delta array lengths

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
Start date:
04/19/2024
Due date:
% Done:

0%

Estimated time:

Description

Recently delta protocol array indices were bumped from 8bit to 16bit, to support arrays with more elements. However, this means that transferring any array headers now take twice as much space.

Maybe we should have two array types? One with 8bit indices, and one with 16bit indices. E.g., "uint short_array[less_than_254_elems]8;" & "uint long_array[more_than_253_elems]16;" Or maybe have the 8bit array the default, and make an array 16bit one only by specific marking?


Files

Actions

Also available in: Atom PDF