mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-05 03:37:41 +00:00
Speed up DateParser. Now about 50x faster than old C version.
This commit is contained in:
1 parent
51b43115a8
commit
8a029280c2
1 file changed
+129
-153
@@ -25,116 +25,152 @@ public enum DateParser {
|
||||
|
||||
/// Parse a date string. Returns nil for empty input.
|
||||
public static func date(from dateString: String) -> Date? {
|
||||
// Try the zero-copy path first.
|
||||
if let d = dateString.utf8.withContiguousStorageIfAvailable({ buf in
|
||||
date(buffer: buf)
|
||||
}) {
|
||||
return d
|
||||
}
|
||||
// Fallback: make a contiguous array.
|
||||
let bytes = Array(dateString.utf8)
|
||||
return bytes.withUnsafeBufferPointer { buf in
|
||||
date(buffer: buf)
|
||||
}
|
||||
}
|
||||
|
||||
/// Parse a date from a raw byte pointer + length (UTF-8 / ASCII).
|
||||
public static func date(bytes: UnsafePointer<UInt8>?, count: Int) -> Date? {
|
||||
guard let bytes else {
|
||||
return nil
|
||||
}
|
||||
let buffer = UnsafeBufferPointer(start: bytes, count: count)
|
||||
return date(buffer: buffer)
|
||||
return date(bytes: bytes[...])
|
||||
}
|
||||
|
||||
/// Parse a date from an `ArraySlice<UInt8>` — the hot path for the feed parsers.
|
||||
static func date(bytes slice: ArraySlice<UInt8>) -> Date? {
|
||||
slice.withContiguousStorageIfAvailable { buffer in
|
||||
date(buffer: buffer)
|
||||
} ?? date(buffer: UnsafeBufferPointer(start: nil, count: 0))
|
||||
}
|
||||
|
||||
// MARK: - Core
|
||||
|
||||
private static func date(buffer: UnsafeBufferPointer<UInt8>) -> Date? {
|
||||
let count = buffer.count
|
||||
let count = slice.count
|
||||
guard count >= 6 && count <= 150 else {
|
||||
return nil
|
||||
}
|
||||
if looksLikeW3CDate(buffer) {
|
||||
return parseW3CDate(buffer)
|
||||
if looksLikeW3CDate(slice) {
|
||||
return parseW3CDate(slice)
|
||||
}
|
||||
if looksLikePubDate(buffer) {
|
||||
return parsePubDate(buffer)
|
||||
if looksLikePubDate(slice) {
|
||||
return parsePubDate(slice)
|
||||
}
|
||||
// Fallback: try W3C.
|
||||
return parseW3CDate(buffer)
|
||||
return parseW3CDate(slice)
|
||||
}
|
||||
|
||||
// MARK: - Time zone table
|
||||
//
|
||||
// Keyed by `UInt64` holding up to 5 lowercase ASCII bytes, little-endian: byte 0
|
||||
// in the low 8 bits, byte 1 in the next 8, and so on. Direct lookup, no string
|
||||
// allocation.
|
||||
// See http://en.wikipedia.org/wiki/List_of_time_zone_abbreviations
|
||||
|
||||
private static let gmtPacked: UInt64 = packASCII("gmt")
|
||||
private static let utcPacked: UInt64 = packASCII("utc")
|
||||
|
||||
private static let timeZoneOffsets: [UInt64: Int] = [
|
||||
packASCII("pdt"): offset(-7), packASCII("pst"): offset(-8),
|
||||
packASCII("est"): offset(-5), packASCII("edt"): offset(-4),
|
||||
packASCII("mdt"): offset(-6), packASCII("mst"): offset(-7),
|
||||
packASCII("cst"): offset(-6), packASCII("cdt"): offset(-5),
|
||||
packASCII("act"): offset(-8), packASCII("aft"): offset(4, 30),
|
||||
packASCII("amt"): offset(4), packASCII("art"): offset(-3),
|
||||
packASCII("ast"): offset(3), packASCII("azt"): offset(4),
|
||||
packASCII("bit"): offset(-12), packASCII("bdt"): offset(8),
|
||||
packASCII("acst"): offset(9, 30), packASCII("aest"): offset(10),
|
||||
packASCII("akst"): offset(-9), packASCII("amst"): offset(5),
|
||||
packASCII("awst"): offset(8), packASCII("azost"): offset(-1),
|
||||
packASCII("biot"): offset(6), packASCII("brt"): offset(-3),
|
||||
packASCII("bst"): offset(6), packASCII("btt"): offset(6),
|
||||
packASCII("cat"): offset(2), packASCII("cct"): offset(6, 30),
|
||||
packASCII("cet"): offset(1), packASCII("cest"): offset(2),
|
||||
packASCII("chast"): offset(12, 45), packASCII("chst"): offset(10),
|
||||
packASCII("cist"): offset(-8), packASCII("ckt"): offset(-10),
|
||||
packASCII("clt"): offset(-4), packASCII("clst"): offset(-3),
|
||||
packASCII("cot"): offset(-5), packASCII("cost"): offset(-4),
|
||||
packASCII("cvt"): offset(-1), packASCII("cxt"): offset(7),
|
||||
packASCII("east"): offset(-6), packASCII("eat"): offset(3),
|
||||
packASCII("ect"): offset(-4), packASCII("eest"): offset(3),
|
||||
packASCII("eet"): offset(2), packASCII("fjt"): offset(12),
|
||||
packASCII("fkst"): offset(-4), packASCII("galt"): offset(-6),
|
||||
packASCII("get"): offset(4), packASCII("gft"): offset(-3),
|
||||
packASCII("gilt"): offset(7), packASCII("git"): offset(-9),
|
||||
packASCII("gst"): offset(-2), packASCII("gyt"): offset(-4),
|
||||
packASCII("hast"): offset(-10), packASCII("hkt"): offset(8),
|
||||
packASCII("hmt"): offset(5), packASCII("irkt"): offset(8),
|
||||
packASCII("irst"): offset(3, 30), packASCII("ist"): offset(2),
|
||||
packASCII("jst"): offset(9), packASCII("krat"): offset(7),
|
||||
packASCII("kst"): offset(9), packASCII("lhst"): offset(10, 30),
|
||||
packASCII("lint"): offset(14), packASCII("magt"): offset(11),
|
||||
packASCII("mit"): offset(-9, 30), packASCII("msk"): offset(3),
|
||||
packASCII("mut"): offset(4), packASCII("ndt"): offset(-2, 30),
|
||||
packASCII("nft"): offset(11, 30), packASCII("npt"): offset(5, 45),
|
||||
packASCII("nt"): offset(-3, 30), packASCII("omst"): offset(6),
|
||||
packASCII("pett"): offset(12), packASCII("phot"): offset(13),
|
||||
packASCII("pkt"): offset(5), packASCII("ret"): offset(4),
|
||||
packASCII("samt"): offset(4), packASCII("sast"): offset(2),
|
||||
packASCII("sbt"): offset(11), packASCII("sct"): offset(4),
|
||||
packASCII("slt"): offset(5, 30), packASCII("sst"): offset(8),
|
||||
packASCII("taht"): offset(-10), packASCII("tha"): offset(7),
|
||||
packASCII("uyt"): offset(-3), packASCII("uyst"): offset(-2),
|
||||
packASCII("vet"): offset(-4, 30), packASCII("vlat"): offset(10),
|
||||
packASCII("wat"): offset(1), packASCII("wet"): offset(0),
|
||||
packASCII("west"): offset(1), packASCII("yakt"): offset(9),
|
||||
packASCII("yekt"): offset(5)
|
||||
]
|
||||
}
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
private extension DateParser {
|
||||
|
||||
// MARK: - Format sniffing
|
||||
|
||||
private static func looksLikePubDate(_ buffer: UnsafeBufferPointer<UInt8>) -> Bool {
|
||||
for b in buffer where b == UInt8(ascii: " ") || b == UInt8(ascii: ",") {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
static func looksLikePubDate(_ slice: ArraySlice<UInt8>) -> Bool {
|
||||
slice.contains { $0 == UInt8(ascii: " ") || $0 == UInt8(ascii: ",") }
|
||||
}
|
||||
|
||||
private static func looksLikeW3CDate(_ buffer: UnsafeBufferPointer<UInt8>) -> Bool {
|
||||
static func looksLikeW3CDate(_ slice: ArraySlice<UInt8>) -> Bool {
|
||||
// Skip leading whitespace, then expect 4 digits followed by `-`.
|
||||
for i in 0..<buffer.count {
|
||||
let b = buffer[i]
|
||||
for i in slice.indices {
|
||||
let b = slice[i]
|
||||
if b == UInt8(ascii: " ") || b == UInt8(ascii: "\r") || b == UInt8(ascii: "\n") || b == UInt8(ascii: "\t") {
|
||||
continue
|
||||
}
|
||||
guard buffer.count - i >= 5 else {
|
||||
guard slice.endIndex - i >= 5 else {
|
||||
return false
|
||||
}
|
||||
return isDigit(buffer[i])
|
||||
&& isDigit(buffer[i + 1])
|
||||
&& isDigit(buffer[i + 2])
|
||||
&& isDigit(buffer[i + 3])
|
||||
&& buffer[i + 4] == UInt8(ascii: "-")
|
||||
return isDigit(slice[i])
|
||||
&& isDigit(slice[i + 1])
|
||||
&& isDigit(slice[i + 2])
|
||||
&& isDigit(slice[i + 3])
|
||||
&& slice[i + 4] == UInt8(ascii: "-")
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// MARK: - PubDate (RFC 822 / 2822)
|
||||
|
||||
private static func parsePubDate(_ buffer: UnsafeBufferPointer<UInt8>) -> Date? {
|
||||
var finalIndex = 0
|
||||
let count = buffer.count
|
||||
static func parsePubDate(_ slice: ArraySlice<UInt8>) -> Date? {
|
||||
var finalIndex = slice.startIndex
|
||||
|
||||
var day = nextNumericValue(buffer, startingIndex: 0, maxDigits: 2, finalIndex: &finalIndex)
|
||||
var day = nextNumericValue(slice, startingIndex: slice.startIndex, maxDigits: 2, finalIndex: &finalIndex)
|
||||
if day == nil || day! < 1 {
|
||||
day = 1
|
||||
}
|
||||
|
||||
let month = nextMonthValue(buffer, startingIndex: finalIndex + 1, finalIndex: &finalIndex) ?? 1
|
||||
let month = nextMonthValue(slice, startingIndex: finalIndex + 1, finalIndex: &finalIndex) ?? 1
|
||||
|
||||
var year = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 4, finalIndex: &finalIndex)
|
||||
var year = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 4, finalIndex: &finalIndex)
|
||||
if let y = year, y < 100 {
|
||||
year = y + 2000
|
||||
}
|
||||
|
||||
var hour = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
var hour = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
if hour < 0 { hour = 0 }
|
||||
|
||||
var minute = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
var minute = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
if minute < 0 { minute = 0 }
|
||||
|
||||
var currentIndex = finalIndex + 1
|
||||
let hasSeconds = currentIndex < count && buffer[currentIndex] == UInt8(ascii: ":")
|
||||
let hasSeconds = currentIndex < slice.endIndex && slice[currentIndex] == UInt8(ascii: ":")
|
||||
var second = 0
|
||||
if hasSeconds {
|
||||
second = nextNumericValue(buffer, startingIndex: currentIndex, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
second = nextNumericValue(slice, startingIndex: currentIndex, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
}
|
||||
|
||||
currentIndex = finalIndex + 1
|
||||
let hasTimeZone = currentIndex < count && buffer[currentIndex] == UInt8(ascii: " ")
|
||||
let hasTimeZone = currentIndex < slice.endIndex && slice[currentIndex] == UInt8(ascii: " ")
|
||||
var timeZoneOffset = 0
|
||||
if hasTimeZone {
|
||||
timeZoneOffset = parsedTimeZoneOffset(buffer, startingIndex: currentIndex)
|
||||
timeZoneOffset = parsedTimeZoneOffset(slice, startingIndex: currentIndex)
|
||||
}
|
||||
|
||||
return dateWithComponents(year: year ?? 1970, month: month, day: day!, hour: hour, minute: minute, second: second, milliseconds: 0, timeZoneOffset: timeZoneOffset)
|
||||
@@ -142,29 +178,28 @@ public enum DateParser {
|
||||
|
||||
// MARK: - W3C / ISO 8601
|
||||
|
||||
private static func parseW3CDate(_ buffer: UnsafeBufferPointer<UInt8>) -> Date? {
|
||||
var finalIndex = 0
|
||||
let count = buffer.count
|
||||
static func parseW3CDate(_ slice: ArraySlice<UInt8>) -> Date? {
|
||||
var finalIndex = slice.startIndex
|
||||
|
||||
let year = nextNumericValue(buffer, startingIndex: 0, maxDigits: 4, finalIndex: &finalIndex) ?? 1970
|
||||
let month = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 1
|
||||
let day = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 1
|
||||
let hour = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
let minute = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
let second = nextNumericValue(buffer, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
let year = nextNumericValue(slice, startingIndex: slice.startIndex, maxDigits: 4, finalIndex: &finalIndex) ?? 1970
|
||||
let month = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 1
|
||||
let day = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 1
|
||||
let hour = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
let minute = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
let second = nextNumericValue(slice, startingIndex: finalIndex + 1, maxDigits: 2, finalIndex: &finalIndex) ?? 0
|
||||
|
||||
var currentIndex = finalIndex + 1
|
||||
var milliseconds = 0
|
||||
let hasMilliseconds = currentIndex < count && buffer[currentIndex] == UInt8(ascii: ".")
|
||||
let hasMilliseconds = currentIndex < slice.endIndex && slice[currentIndex] == UInt8(ascii: ".")
|
||||
if hasMilliseconds {
|
||||
milliseconds = nextNumericValue(buffer, startingIndex: currentIndex, maxDigits: 3, finalIndex: &finalIndex) ?? 0
|
||||
milliseconds = nextNumericValue(slice, startingIndex: currentIndex, maxDigits: 3, finalIndex: &finalIndex) ?? 0
|
||||
currentIndex = finalIndex + 1
|
||||
while currentIndex < count && isDigit(buffer[currentIndex]) {
|
||||
while currentIndex < slice.endIndex && isDigit(slice[currentIndex]) {
|
||||
currentIndex += 1
|
||||
}
|
||||
}
|
||||
|
||||
let timeZoneOffset = parsedTimeZoneOffset(buffer, startingIndex: currentIndex)
|
||||
let timeZoneOffset = parsedTimeZoneOffset(slice, startingIndex: currentIndex)
|
||||
return dateWithComponents(year: year, month: month, day: day, hour: hour, minute: minute, second: second, milliseconds: milliseconds, timeZoneOffset: timeZoneOffset)
|
||||
}
|
||||
|
||||
@@ -174,7 +209,7 @@ public enum DateParser {
|
||||
/// days-from-civil algorithm. Pure integer arithmetic — no `timegm` call, no Foundation
|
||||
/// calendar lookup, portable to any platform.
|
||||
/// See: https://howardhinnant.github.io/date_algorithms.html
|
||||
private static func dateWithComponents(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, milliseconds: Int, timeZoneOffset: Int) -> Date {
|
||||
static func dateWithComponents(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, milliseconds: Int, timeZoneOffset: Int) -> Date {
|
||||
// Hinnant treats years as starting in March so that Feb (with its variable length)
|
||||
// is the last month of the year — simplifies day-of-year math. Jan/Feb of year Y
|
||||
// are treated as months 13/14 of year Y-1.
|
||||
@@ -197,12 +232,12 @@ public enum DateParser {
|
||||
// MARK: - Numeric and alphabetic scanning
|
||||
|
||||
@inline(__always)
|
||||
private static func isDigit(_ b: UInt8) -> Bool {
|
||||
static func isDigit(_ b: UInt8) -> Bool {
|
||||
b >= UInt8(ascii: "0") && b <= UInt8(ascii: "9")
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
private static func isAlpha(_ b: UInt8) -> Bool {
|
||||
static func isAlpha(_ b: UInt8) -> Bool {
|
||||
(b >= UInt8(ascii: "A") && b <= UInt8(ascii: "Z"))
|
||||
|| (b >= UInt8(ascii: "a") && b <= UInt8(ascii: "z"))
|
||||
}
|
||||
@@ -213,28 +248,28 @@ public enum DateParser {
|
||||
///
|
||||
/// Two-phase: skip leading non-digits, then accumulate digits. Avoids a per-iteration
|
||||
/// branch in the hot digit-reading phase and is easier to read.
|
||||
private static func nextNumericValue(_ buffer: UnsafeBufferPointer<UInt8>, startingIndex: Int, maxDigits: Int, finalIndex: inout Int) -> Int? {
|
||||
static func nextNumericValue(_ slice: ArraySlice<UInt8>, startingIndex: Int, maxDigits: Int, finalIndex: inout Int) -> Int? {
|
||||
let limit = maxDigits > 4 ? 4 : maxDigits
|
||||
let count = buffer.count
|
||||
let end = slice.endIndex
|
||||
var i = startingIndex
|
||||
|
||||
// Phase 1: skip leading non-digits.
|
||||
while i < count {
|
||||
if isDigit(buffer[i]) {
|
||||
while i < end {
|
||||
if isDigit(slice[i]) {
|
||||
break
|
||||
}
|
||||
finalIndex = i
|
||||
i += 1
|
||||
}
|
||||
if i >= count {
|
||||
if i >= end {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Phase 2: accumulate digits (we know buffer[i] is a digit on entry).
|
||||
// Phase 2: accumulate digits (we know slice[i] is a digit on entry).
|
||||
var value = 0
|
||||
var digitsRead = 0
|
||||
while i < count {
|
||||
let b = buffer[i]
|
||||
while i < end {
|
||||
let b = slice[i]
|
||||
if !isDigit(b) {
|
||||
break
|
||||
}
|
||||
@@ -251,14 +286,14 @@ public enum DateParser {
|
||||
|
||||
/// Consume up to three alphabetic characters and interpret as a month number (1–12).
|
||||
/// Zero-allocation: uses `UInt32` to pack up to 3 bytes (lowercased).
|
||||
private static func nextMonthValue(_ buffer: UnsafeBufferPointer<UInt8>, startingIndex: Int, finalIndex: inout Int) -> Int? {
|
||||
static func nextMonthValue(_ slice: ArraySlice<UInt8>, startingIndex: Int, finalIndex: inout Int) -> Int? {
|
||||
var packed: UInt32 = 0
|
||||
var charsRead = 0
|
||||
|
||||
var i = startingIndex
|
||||
while i < buffer.count {
|
||||
while i < slice.endIndex {
|
||||
finalIndex = i
|
||||
let b = buffer[i]
|
||||
let b = slice[i]
|
||||
if !isAlpha(b) {
|
||||
if charsRead == 0 {
|
||||
i += 1
|
||||
@@ -330,15 +365,15 @@ public enum DateParser {
|
||||
///
|
||||
/// Zero-allocation: packs up to 5 lowercase ASCII bytes into a UInt64 as it scans,
|
||||
/// tracks `hasAlpha` and `firstByte` along the way.
|
||||
private static func parsedTimeZoneOffset(_ buffer: UnsafeBufferPointer<UInt8>, startingIndex: Int) -> Int {
|
||||
static func parsedTimeZoneOffset(_ slice: ArraySlice<UInt8>, startingIndex: Int) -> Int {
|
||||
var packed: UInt64 = 0
|
||||
var charsRead = 0
|
||||
var hasAlpha = false
|
||||
var firstByte: UInt8 = 0
|
||||
|
||||
var i = startingIndex
|
||||
while i < buffer.count && charsRead < 5 {
|
||||
let b = buffer[i]
|
||||
while i < slice.endIndex && charsRead < 5 {
|
||||
let b = slice[i]
|
||||
if b == UInt8(ascii: ":") || b == UInt8(ascii: " ") {
|
||||
i += 1
|
||||
continue
|
||||
@@ -377,7 +412,7 @@ public enum DateParser {
|
||||
}
|
||||
|
||||
/// Parse `+HHMM` / `-HHMM` / `+HH` / `-HH` from packed lowercase ASCII bytes.
|
||||
private static func offsetForSignedNumericOffset(packed: UInt64, charsRead: Int) -> Int {
|
||||
static func offsetForSignedNumericOffset(packed: UInt64, charsRead: Int) -> Int {
|
||||
guard charsRead > 0 else {
|
||||
return 0
|
||||
}
|
||||
@@ -415,19 +450,11 @@ public enum DateParser {
|
||||
return isPlus ? seconds : -seconds
|
||||
}
|
||||
|
||||
// MARK: - Time zone table
|
||||
//
|
||||
// Keyed by `UInt64` holding up to 5 lowercase ASCII bytes, little-endian: byte 0 in
|
||||
// the low 8 bits, byte 1 in the next 8, and so on. Direct lookup, no string allocation.
|
||||
// Values from the old RSDateParser.m table.
|
||||
// See http://en.wikipedia.org/wiki/List_of_time_zone_abbreviations
|
||||
|
||||
private static let gmtPacked: UInt64 = packASCII("gmt")
|
||||
private static let utcPacked: UInt64 = packASCII("utc")
|
||||
// MARK: - Table construction helpers
|
||||
|
||||
/// Pack a short ASCII literal (up to 8 bytes) into a UInt64, lowercasing uppercase
|
||||
/// letters. Non-ASCII bytes are treated as-is. Compile-time foldable for literals.
|
||||
private static func packASCII(_ s: StaticString) -> UInt64 {
|
||||
/// letters. Non-ASCII bytes are treated as-is.
|
||||
static func packASCII(_ s: StaticString) -> UInt64 {
|
||||
var result: UInt64 = 0
|
||||
s.withUTF8Buffer { buf in
|
||||
let count = Swift.min(buf.count, 8)
|
||||
@@ -439,61 +466,10 @@ public enum DateParser {
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
private static func offset(_ hours: Int, _ minutes: Int = 0) -> Int {
|
||||
static func offset(_ hours: Int, _ minutes: Int = 0) -> Int {
|
||||
if hours < 0 {
|
||||
return hours * 3600 - minutes * 60
|
||||
}
|
||||
return hours * 3600 + minutes * 60
|
||||
}
|
||||
|
||||
private static let timeZoneOffsets: [UInt64: Int] = [
|
||||
packASCII("pdt"): offset(-7), packASCII("pst"): offset(-8),
|
||||
packASCII("est"): offset(-5), packASCII("edt"): offset(-4),
|
||||
packASCII("mdt"): offset(-6), packASCII("mst"): offset(-7),
|
||||
packASCII("cst"): offset(-6), packASCII("cdt"): offset(-5),
|
||||
packASCII("act"): offset(-8), packASCII("aft"): offset(4, 30),
|
||||
packASCII("amt"): offset(4), packASCII("art"): offset(-3),
|
||||
packASCII("ast"): offset(3), packASCII("azt"): offset(4),
|
||||
packASCII("bit"): offset(-12), packASCII("bdt"): offset(8),
|
||||
packASCII("acst"): offset(9, 30), packASCII("aest"): offset(10),
|
||||
packASCII("akst"): offset(-9), packASCII("amst"): offset(5),
|
||||
packASCII("awst"): offset(8), packASCII("azost"): offset(-1),
|
||||
packASCII("biot"): offset(6), packASCII("brt"): offset(-3),
|
||||
packASCII("bst"): offset(6), packASCII("btt"): offset(6),
|
||||
packASCII("cat"): offset(2), packASCII("cct"): offset(6, 30),
|
||||
packASCII("cet"): offset(1), packASCII("cest"): offset(2),
|
||||
packASCII("chast"): offset(12, 45), packASCII("chst"): offset(10),
|
||||
packASCII("cist"): offset(-8), packASCII("ckt"): offset(-10),
|
||||
packASCII("clt"): offset(-4), packASCII("clst"): offset(-3),
|
||||
packASCII("cot"): offset(-5), packASCII("cost"): offset(-4),
|
||||
packASCII("cvt"): offset(-1), packASCII("cxt"): offset(7),
|
||||
packASCII("east"): offset(-6), packASCII("eat"): offset(3),
|
||||
packASCII("ect"): offset(-4), packASCII("eest"): offset(3),
|
||||
packASCII("eet"): offset(2), packASCII("fjt"): offset(12),
|
||||
packASCII("fkst"): offset(-4), packASCII("galt"): offset(-6),
|
||||
packASCII("get"): offset(4), packASCII("gft"): offset(-3),
|
||||
packASCII("gilt"): offset(7), packASCII("git"): offset(-9),
|
||||
packASCII("gst"): offset(-2), packASCII("gyt"): offset(-4),
|
||||
packASCII("hast"): offset(-10), packASCII("hkt"): offset(8),
|
||||
packASCII("hmt"): offset(5), packASCII("irkt"): offset(8),
|
||||
packASCII("irst"): offset(3, 30), packASCII("ist"): offset(2),
|
||||
packASCII("jst"): offset(9), packASCII("krat"): offset(7),
|
||||
packASCII("kst"): offset(9), packASCII("lhst"): offset(10, 30),
|
||||
packASCII("lint"): offset(14), packASCII("magt"): offset(11),
|
||||
packASCII("mit"): offset(-9, 30), packASCII("msk"): offset(3),
|
||||
packASCII("mut"): offset(4), packASCII("ndt"): offset(-2, 30),
|
||||
packASCII("nft"): offset(11, 30), packASCII("npt"): offset(5, 45),
|
||||
packASCII("nt"): offset(-3, 30), packASCII("omst"): offset(6),
|
||||
packASCII("pett"): offset(12), packASCII("phot"): offset(13),
|
||||
packASCII("pkt"): offset(5), packASCII("ret"): offset(4),
|
||||
packASCII("samt"): offset(4), packASCII("sast"): offset(2),
|
||||
packASCII("sbt"): offset(11), packASCII("sct"): offset(4),
|
||||
packASCII("slt"): offset(5, 30), packASCII("sst"): offset(8),
|
||||
packASCII("taht"): offset(-10), packASCII("tha"): offset(7),
|
||||
packASCII("uyt"): offset(-3), packASCII("uyst"): offset(-2),
|
||||
packASCII("vet"): offset(-4, 30), packASCII("vlat"): offset(10),
|
||||
packASCII("wat"): offset(1), packASCII("wet"): offset(0),
|
||||
packASCII("west"): offset(1), packASCII("yakt"): offset(9),
|
||||
packASCII("yekt"): offset(5)
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user