Skip to content
Snippets Groups Projects
Commit e70a0add authored by David Sehnal's avatar David Sehnal
Browse files

encoder TODO

parent d597f1e8
Branches
Tags
No related merge requests found
...@@ -14,7 +14,11 @@ import Encoder from '../encoder' ...@@ -14,7 +14,11 @@ import Encoder from '../encoder'
// TODO: add "repeat encoding"? [[1, 2], [1, 2], [1, 2]] --- Repeat ---> [[1, 2], 3] // TODO: add "repeat encoding"? [[1, 2], [1, 2], [1, 2]] --- Repeat ---> [[1, 2], 3]
// TODO: Add "higher level fields"? (i.e. generalization of repeat) // TODO: Add "higher level fields"? (i.e. generalization of repeat)
// TODO: Add tensor field definition // TODO: Add tensor field definition
// TODO: align "data blocks" to 8 byte offsets // TODO: align "data blocks" to 8 byte offsets for fast typed array windows? (prolly needs some testing if this is actually the case too)
// TODO: "parametric encoders"? Specify encoding as [{ param: 'value1', encoding1 }, { param: 'value2', encoding2 }]
// then the encoder can specify { param: 'value1' } and the correct encoding will be used.
// Use case: variable precision encoding for different fields.
// Perhaps implement this as parameter spaces...
export const enum FieldType { export const enum FieldType {
Str, Int, Float Str, Int, Float
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment