diff options
| author | Drahflow <drahflow@gmx.de> | 2013-09-10 10:54:13 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-09-10 10:54:13 +0200 |
| commit | 97d0ff2a4340a96be3753ed1fefec20b452fada0 (patch) | |
| tree | 593115cf8c9a3d28949bff087e4d529ac4c0175c | |
| parent | 05de0ef924f9e4b3b14bd26a6db96f33185cf1f1 (diff) | |
Towards faster regexes
But keeping the old code for a while to faciliate further
general performance improvements.
| -rw-r--r-- | notes | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -275,14 +275,14 @@ Co-iterability is decided by type-match and * integers: co-iterated type is bitwise and, if zero, no co-iteration * strings: co-iterated type is longest common substring, if epsilon, no co-iteration -== Musings about function composition operator == += Musings about function composition operator = Maybe ; should act differently when getting a string, or use another single char for category operations Uses: Categorical operators over Set Anyway: This should be handled by a library, use escape mechanism for ; -== Musings about the API == += Musings about the API = sys .file sys .net @@ -321,3 +321,19 @@ bin math [ 1 2 3 ] 16 unbase -> 1+2*16+3*16*16 12345 10 base -> [ 5 4 3 2 1 ] + += Musing about asm regex engine = + +Pseudocode: x86 assembly. +Program counter: Instruction offset relative to start of pseudocode. +Thread: Instruction counter + capture data +Threadlist: +[ + <string header> + <size> + <bitfield of contained PCs> + [ # thread data + <pc> + <capture data> + ]* +] |
