Implement stringref extension

Đang mở
#70 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
24/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
backend

Hướng nghiên cứu

The issue proposes adding CBOR stringref tags 25 and 256 to the encoder and decoder, but names no files or tests. Start by reading the encoder and decoder entry points and their existing tag handling. Done means repetitive strings can use the extension during encoding and are decoded correctly, with little overhead when stringref is unused.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The http://cbor.schmorp.de/stringref CBOR extension (tags 25 and 256) permit substantial compression of CBOR encoded objects with repetitive string values. It seems adding this to the CBOR encoder and decoder would introduce relatively little overhead in cases where it isn't used, and could actually run faster when decoding objects where the compression is effective.

This is a topic that interests me, and I'd be willing develop a pull request for it if you are interested.

Ngôn ngữ chính
JavaScript
Star
379
Fork
73
Merge trung bình
7 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hildjj/node-cbor

Tất cả issue của hildjj/node-cbor

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.