You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

12 years ago
--- !ditz.rubyforge.org,2008-03-06/issue
title: switch genstrings bitpacking to be more flexible
desc: |-
The current approach uses a 6-bit lookup table for 7-bit codepoints, and
fails if there are more than 64 unique codepoints. This limit was reached
with JSON stringify() development, so switch to a better encoding.
type: :task
component: duk
release: v0.2
11 years ago
reporter: sva <sami.vaarala@iki.fi>
12 years ago
status: :closed
disposition: :fixed
creation_time: 2013-02-23 01:15:12.686472 Z
references: []
id: 8292a08f73a9048508a44a61f3c57a335529a7f1
log_events:
- - 2013-02-23 01:15:12.867522 Z
11 years ago
- sva <sami.vaarala@iki.fi>
12 years ago
- created
- ""
- - 2013-02-23 01:17:22.506581 Z
11 years ago
- sva <sami.vaarala@iki.fi>
12 years ago
- commented
- |-
The replacement algorithm uses 5-bit code values and a decoder which is
either in lowercase mode or uppercase mode. Letters of matching case
and a few common characters (like '\x00' and '_') are encoded with 5
bits (the most common case). See genstrings.py for more info.
- - 2013-02-23 02:04:52.178258 Z
11 years ago
- sva <sami.vaarala@iki.fi>
12 years ago
- closed with disposition fixed
- ""