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.
 
 
 
 
 
 

33 lines
1.1 KiB

--- !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
reporter: sva <sami.vaarala@poplatek.fi>
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
- sva <sami.vaarala@poplatek.fi>
- created
- ""
- - 2013-02-23 01:17:22.506581 Z
- sva <sami.vaarala@poplatek.fi>
- 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
- sva <sami.vaarala@poplatek.fi>
- closed with disposition fixed
- ""